Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Spot
Spot
Commits
b89f1e25
Commit
b89f1e25
authored
Oct 27, 2004
by
Alexandre Duret-Lutz
Browse files
* src/tgbaalgos/ltl2tgba_fm.cc (ltl_to_tgba_fm): Do not assert
that the true state has only one link when unobs is used.
parent
0864d1ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
b89f1e25
2004-10-27 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/tgbaalgos/ltl2tgba_fm.cc (ltl_to_tgba_fm): Do not assert
that the true state has only one link when unobs is used.
2004-10-23 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/evtgbatest/Makefile.am (CLEANFILES): New variable.
...
...
src/tgbaalgos/ltl2tgba_fm.cc
View file @
b89f1e25
...
...
@@ -854,18 +854,20 @@ namespace spot
bdd
cond_for_true
=
bddfalse
;
if
(
i
!=
dests
.
end
())
{
// There should be only one transition going to 1 (true) ...
assert
(
i
->
second
.
size
()
==
1
);
prom_map
::
const_iterator
j
=
i
->
second
.
begin
();
// ... and it is not expected to make any promises.
assert
(
j
->
first
==
bddtrue
);
cond_for_true
=
j
->
second
;
// When translating LTL for an event-based logic with
// unobservable events, the 1 state should accept even
// unobservable events.
// unobservable events, the 1 state should accept
all
even
ts,
//
even
unobservable events.
if
(
unobs
&&
f
==
constant
::
true_instance
())
cond_for_true
=
all_events
;
else
{
// There should be only one transition going to 1 (true) ...
assert
(
i
->
second
.
size
()
==
1
);
prom_map
::
const_iterator
j
=
i
->
second
.
begin
();
// ... and it is not expected to make any promises.
assert
(
j
->
first
==
bddtrue
);
cond_for_true
=
j
->
second
;
}
tgba_explicit
::
transition
*
t
=
a
->
create_transition
(
now
,
constant
::
true_instance
()
->
val_name
());
a
->
add_condition
(
t
,
d
.
bdd_to_formula
(
cond_for_true
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment