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/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
bd34f3c629
commit
cdfe78f178
18 changed files with 788 additions and 725 deletions
|
|
@ -62,10 +62,10 @@ properties: trans-labels explicit-labels trans-acc complete
|
|||
properties: deterministic stutter-invariant
|
||||
--BODY--
|
||||
State: 0
|
||||
[0&1] 0 {0 1}
|
||||
[!0&!1] 0
|
||||
[!0&1] 0 {1}
|
||||
[0&!1] 0 {0}
|
||||
[0&1] 0 {0 1}
|
||||
--END--
|
||||
HOA: v1
|
||||
States: 4
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright (C) 2011, 2013, 2014, 2015 Laboratoire de Recherche et
|
||||
# Développement de l'Epita (LRDE).
|
||||
# Copyright (C) 2011, 2013, 2014, 2015, 2017 Laboratoire de Recherche
|
||||
# et Développement de l'Epita (LRDE).
|
||||
#
|
||||
# This file is part of Spot, a model checking library.
|
||||
#
|
||||
|
|
@ -242,15 +242,15 @@ State: 0
|
|||
[0] 1
|
||||
State: 1 {0}
|
||||
[1&2] 1
|
||||
[!1&2] 2
|
||||
[!2] 3
|
||||
[!2] 2
|
||||
[!1&2] 3
|
||||
State: 2
|
||||
[1] 1
|
||||
[!1] 2
|
||||
State: 3
|
||||
[1&2] 1
|
||||
[!1&2] 2
|
||||
[!2] 3
|
||||
[!2] 2
|
||||
[!1&2] 3
|
||||
State: 3
|
||||
[1] 1
|
||||
[!1] 3
|
||||
--END--
|
||||
EOF
|
||||
diff out expected
|
||||
|
|
|
|||
|
|
@ -82,8 +82,8 @@ properties: trans-labels explicit-labels trans-acc complete
|
|||
properties: deterministic stutter-invariant
|
||||
--BODY--
|
||||
State: 0
|
||||
[0] 0 {0}
|
||||
[!0] 0
|
||||
[0] 0 {0}
|
||||
--END--
|
||||
EOF
|
||||
diff output expected
|
||||
|
|
@ -103,8 +103,8 @@ properties: trans-labels explicit-labels trans-acc complete
|
|||
properties: deterministic stutter-invariant
|
||||
--BODY--
|
||||
State: 0
|
||||
[0] 0 {0}
|
||||
[!0] 0
|
||||
[0] 0 {0}
|
||||
--END--
|
||||
EOF
|
||||
diff output expected
|
||||
|
|
@ -124,8 +124,8 @@ properties: trans-labels explicit-labels trans-acc complete
|
|||
properties: deterministic
|
||||
--BODY--
|
||||
State: 0
|
||||
[0] 0 {0}
|
||||
[!0] 0
|
||||
[0] 0 {0}
|
||||
--END--
|
||||
EOF
|
||||
diff output expected
|
||||
|
|
|
|||
|
|
@ -65,18 +65,18 @@ properties: trans-labels explicit-labels trans-acc complete
|
|||
properties: stutter-invariant
|
||||
--BODY--
|
||||
State: 0
|
||||
[0] 0 {1}
|
||||
[!0] 0
|
||||
[0&1] 1 {1}
|
||||
[0] 0 {1}
|
||||
[!0&1] 1
|
||||
[0&1] 1 {1}
|
||||
State: 1
|
||||
[0&1] 1 {0 1}
|
||||
[!0&1] 1 {0}
|
||||
[0&!1] 2 {0 1}
|
||||
[0&1] 1 {0 1}
|
||||
[!0&!1] 2 {0}
|
||||
[0&!1] 2 {0 1}
|
||||
State: 2
|
||||
[0] 2 {1}
|
||||
[!0] 2
|
||||
[0] 2 {1}
|
||||
--END--
|
||||
EOF
|
||||
diff por.hoa exp
|
||||
|
|
@ -96,13 +96,13 @@ Acceptance: 2 Inf(0)&Inf(1)
|
|||
properties: trans-labels explicit-labels trans-acc stutter-invariant
|
||||
--BODY--
|
||||
State: 0
|
||||
[0] 0 {1}
|
||||
[!0] 0
|
||||
[0&1] 1 {1}
|
||||
[0] 0 {1}
|
||||
[!0&1] 1
|
||||
[0&1] 1 {1}
|
||||
State: 1
|
||||
[0&1] 1 {0 1}
|
||||
[!0&1] 1 {0}
|
||||
[0&1] 1 {0 1}
|
||||
--END--
|
||||
EOF
|
||||
diff pand.hoa exp
|
||||
|
|
|
|||
|
|
@ -363,10 +363,10 @@ digraph G {
|
|||
I [label="", style=invis, width=0]
|
||||
I -> 0
|
||||
0 [label="0"]
|
||||
0 -> 0 [label="a & b\n{0,1}"]
|
||||
0 -> 0 [label="!a & !b"]
|
||||
0 -> 0 [label="!a & b\n{1}"]
|
||||
0 -> 0 [label="a & !b\n{0}"]
|
||||
0 -> 0 [label="a & b\n{0,1}"]
|
||||
}
|
||||
EOF
|
||||
diff output expected
|
||||
|
|
@ -382,10 +382,10 @@ digraph G {
|
|||
I [label="", style=invis, width=0]
|
||||
I -> 0
|
||||
0 [label="0"]
|
||||
0 -> 0 [label="a & b\n⓿❶"]
|
||||
0 -> 0 [label="!a & !b"]
|
||||
0 -> 0 [label="!a & b\n❶"]
|
||||
0 -> 0 [label="a & !b\n⓿"]
|
||||
0 -> 0 [label="a & b\n⓿❶"]
|
||||
}
|
||||
EOF
|
||||
diff output expected
|
||||
|
|
@ -407,10 +407,10 @@ digraph G {
|
|||
I [label="", style=invis, width=0]
|
||||
I -> 0
|
||||
0 [label=<0>]
|
||||
0 -> 0 [label=<a & b<br/>$zero$one>]
|
||||
0 -> 0 [label=<!a & !b>]
|
||||
0 -> 0 [label=<!a & b<br/>$one>]
|
||||
0 -> 0 [label=<a & !b<br/>$zero>]
|
||||
0 -> 0 [label=<a & b<br/>$zero$one>]
|
||||
}
|
||||
EOF
|
||||
diff output expected
|
||||
|
|
|
|||
|
|
@ -37,26 +37,26 @@ Acceptance: 2 Inf(0)&Inf(1)
|
|||
properties: trans-labels explicit-labels state-acc complete
|
||||
properties: deterministic stutter-invariant
|
||||
--BODY--
|
||||
State: 0 {0}
|
||||
[0&!1] 0
|
||||
[0&1] 1
|
||||
[!0&!1] 2
|
||||
[!0&1] 3
|
||||
State: 1 {0 1}
|
||||
[0&!1] 0
|
||||
[0&1] 1
|
||||
[!0&!1] 2
|
||||
[!0&1] 3
|
||||
State: 2
|
||||
[0&!1] 0
|
||||
[0&1] 1
|
||||
[!0&!1] 2
|
||||
[!0&1] 3
|
||||
State: 3 {1}
|
||||
[0&!1] 0
|
||||
[0&1] 1
|
||||
[!0&!1] 2
|
||||
[!0&1] 3
|
||||
State: 0 {0 1}
|
||||
[0&1] 0
|
||||
[!0&!1] 1
|
||||
[!0&1] 2
|
||||
[0&!1] 3
|
||||
State: 1
|
||||
[0&1] 0
|
||||
[!0&!1] 1
|
||||
[!0&1] 2
|
||||
[0&!1] 3
|
||||
State: 2 {1}
|
||||
[0&1] 0
|
||||
[!0&!1] 1
|
||||
[!0&1] 2
|
||||
[0&!1] 3
|
||||
State: 3 {0}
|
||||
[0&1] 0
|
||||
[!0&!1] 1
|
||||
[!0&1] 2
|
||||
[0&!1] 3
|
||||
--END--
|
||||
EOF
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue