twa_graph: do not order BDDs by IDs in merge_edges()
Fixes #282. * spot/misc/bddlt.hh (bdd_less_than_stable): New function. * spot/twa/twagraph.cc (merge_edges): Use it. * tests/core/genltl.test: Adjust, and add an extra test for the behavior of #282. * tests/core/complement.test, tests/core/degenid.test, tests/core/ltldo.test, tests/core/prodor.test, tests/core/readsave.test, tests/core/sbacc.test, tests/python/atva16-fig2a.ipynb, tests/python/automata.ipynb, tests/python/decompose.ipynb, tests/python/dualize.py, tests/python/highlighting.ipynb, tests/python/piperead.ipynb, tests/python/product.ipynb, tests/python/simstate.py, tests/python/tra2tba.py: Adjust all expected outputs. * NEWS: Mention the bug.
This commit is contained in:
parent
2bca21f7f8
commit
5e5a69488e
19 changed files with 798 additions and 735 deletions
|
|
@ -136,7 +136,7 @@ test $(genltl --kr-nlogn=4 | ltl2tgba --low --stats=%s) -ge 16
|
|||
test $(genltl --kr-n=4 | ltl2tgba --low --stats=%s) -ge 16
|
||||
|
||||
genltl --ms-example=0..4 --ms-phi-r=0..2 --ms-phi-s=0..2 --ms-phi-h=0..4 \
|
||||
--format=%F=%L,%f |
|
||||
--gf-equiv=0..5 --format=%F=%L,%f |
|
||||
ltl2tgba -G -D -F-/2 --stats='%<,%s' > out
|
||||
cat >exp<<EOF
|
||||
ms-example=0,1
|
||||
|
|
@ -146,21 +146,15 @@ ms-example=3,7
|
|||
ms-example=4,12
|
||||
ms-phi-r=0,2
|
||||
ms-phi-r=1,16
|
||||
ms-phi-r=2,25
|
||||
ms-phi-r=2,29
|
||||
ms-phi-s=0,5
|
||||
ms-phi-s=1,7
|
||||
ms-phi-s=2,1322
|
||||
ms-phi-s=1,8
|
||||
ms-phi-s=2,497
|
||||
ms-phi-h=0,2
|
||||
ms-phi-h=1,4
|
||||
ms-phi-h=2,21
|
||||
ms-phi-h=3,170
|
||||
ms-phi-h=4,1816
|
||||
EOF
|
||||
diff out exp
|
||||
|
||||
genltl --gf-equiv=0..5 --format=%F=%L,%f |
|
||||
ltl2tgba -G -D -F-/2 --stats='%<,%s' > out
|
||||
cat >exp<<EOF
|
||||
gf-equiv=0,1
|
||||
gf-equiv=1,4
|
||||
gf-equiv=2,8
|
||||
|
|
@ -169,3 +163,9 @@ gf-equiv=4,81
|
|||
gf-equiv=5,431
|
||||
EOF
|
||||
diff out exp
|
||||
|
||||
# Running ltl2tgba on one formula at a time should give the same results
|
||||
genltl --ms-example=0..4 --ms-phi-r=0..2 --ms-phi-s=0..2 --ms-phi-h=0..4 \
|
||||
--gf-equiv=0..5 --format=%F=%L,%f |
|
||||
ltldo -F-/2 'ltl2tgba -G -D' --stats='%<,%s' > out
|
||||
diff out exp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue