* src/tgbaalgos/ltl2tgba_fm.cc (ltl_to_tgba_fm): Identify states
with identical successors. This optimizes the translation of `a R (b R c)', for instance. * src/tgbatest/ltl2tgba.test: Add two new tests.
This commit is contained in:
parent
0dd81f7d16
commit
872f7efbeb
3 changed files with 8 additions and 1 deletions
|
|
@ -529,7 +529,7 @@ namespace spot
|
|||
{
|
||||
dest->accept(v);
|
||||
bdd succbdd = v.result();
|
||||
succ_to_string::iterator cs = canonical_succ.find(succbdd);
|
||||
succ_to_formula::iterator cs = canonical_succ.find(succbdd);
|
||||
if (cs != canonical_succ.end())
|
||||
{
|
||||
destroy(dest);
|
||||
|
|
|
|||
|
|
@ -37,3 +37,5 @@ run 0 ./ltl2tgba 'Xa & (b U !a) & (b U !a)'
|
|||
run 0 ./ltl2tgba 'Fa & Xb & GFc & Gd'
|
||||
run 0 ./ltl2tgba 'Fa & Xa & GFc & Gc'
|
||||
run 0 ./ltl2tgba 'Fc & X(a | Xb) & GF(a | Xb) & Gc'
|
||||
run 0 ./ltl2tgba 'a R (b R c)'
|
||||
run 0 ./ltl2tgba '(a U b) U (c U d)'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue