autfilt: add --is-alternating
* bin/autfilt.cc: Implement --is-alternating. * tests/core/complete.test: Test it. * NEWS: Mention it.
This commit is contained in:
parent
6a11e149b7
commit
77ce4170dc
3 changed files with 45 additions and 3 deletions
|
|
@ -227,3 +227,36 @@ EOF
|
|||
run 0 autfilt -CH automaton >out
|
||||
cat out
|
||||
diff out expected
|
||||
|
||||
autfilt --is-alternating automaton >out
|
||||
cat out
|
||||
cat >expected <<EOF
|
||||
HOA: v1
|
||||
States: 2
|
||||
Start: 0
|
||||
AP: 2 "a" "b"
|
||||
acc-name: co-Buchi
|
||||
Acceptance: 1 Fin(0)
|
||||
properties: univ-branch trans-labels explicit-labels state-acc
|
||||
properties: deterministic very-weak
|
||||
--BODY--
|
||||
State: 0
|
||||
[!0 | 1] 0
|
||||
[0&!1] 0&1
|
||||
State: 1 {0}
|
||||
[0&!1] 1
|
||||
--END--
|
||||
HOA: v1
|
||||
States: 2
|
||||
Start: 0&1
|
||||
AP: 0
|
||||
acc-name: co-Buchi
|
||||
Acceptance: 1 Fin(0)
|
||||
properties: univ-branch trans-labels explicit-labels state-acc
|
||||
properties: deterministic
|
||||
--BODY--
|
||||
State: 0
|
||||
State: 1
|
||||
--END--
|
||||
EOF
|
||||
diff out expected
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue