twa_graph: add a method to merge states with same outgoing edges
* spot/twa/twagraph.hh, spot/twa/twagraph.cc: here * NEWS: document it * tests/core/twagraph.cc, tests/core/tgbagraph.test: test it
This commit is contained in:
parent
5b9088006c
commit
5a819e0c93
5 changed files with 89 additions and 1 deletions
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
set -e
|
||||
|
||||
run 0 ../tgbagraph | tee stdout
|
||||
run 0 ../tgbagraph > stdout
|
||||
|
||||
cat >expected <<EOF
|
||||
p1
|
||||
|
|
@ -289,6 +289,18 @@ State: 1
|
|||
State: 2
|
||||
[t] 0&1
|
||||
--END--
|
||||
HOA: v1
|
||||
States: 1
|
||||
Start: 0
|
||||
AP: 0
|
||||
acc-name: all
|
||||
Acceptance: 0 t
|
||||
properties: trans-labels explicit-labels state-acc complete
|
||||
properties: deterministic
|
||||
--BODY--
|
||||
State: 0
|
||||
[t] 0
|
||||
--END--
|
||||
EOF
|
||||
|
||||
diff stdout expected
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue