maskacc: reverse the way the acceptance condition is stripped
It makes more sense to assume that the removed set cannot be visited. * src/tgbaalgos/mask.cc: Flip a Boolean. * src/tgbatest/maskacc.test: Adjust test case. * doc/org/autfilt.org: Add an example.
This commit is contained in:
parent
020bbd4473
commit
e592832a3e
3 changed files with 112 additions and 26 deletions
|
|
@ -28,8 +28,7 @@ HOA: v1
|
|||
States: 4
|
||||
Start: 0
|
||||
AP: 2 "a" "b"
|
||||
acc-name: generalized-Buchi 2
|
||||
Acceptance: 2 Inf(0)&Inf(1)
|
||||
Acceptance: 2 Fin(0)&Fin(1)
|
||||
properties: trans-labels explicit-labels trans-acc
|
||||
--BODY--
|
||||
State: 0
|
||||
|
|
@ -51,8 +50,7 @@ HOA: v1
|
|||
States: 4
|
||||
Start: 0
|
||||
AP: 2 "a" "b"
|
||||
acc-name: Buchi
|
||||
Acceptance: 1 Inf(0)
|
||||
Acceptance: 1 Fin(0)
|
||||
properties: trans-labels explicit-labels trans-acc
|
||||
--BODY--
|
||||
State: 0
|
||||
|
|
@ -74,8 +72,7 @@ HOA: v1
|
|||
States: 4
|
||||
Start: 0
|
||||
AP: 2 "a" "b"
|
||||
acc-name: Buchi
|
||||
Acceptance: 1 Inf(0)
|
||||
Acceptance: 1 Fin(0)
|
||||
properties: trans-labels explicit-labels trans-acc
|
||||
--BODY--
|
||||
State: 0
|
||||
|
|
@ -121,14 +118,14 @@ Acceptance: 3 Inf(1)|Fin(0)
|
|||
properties: trans-labels explicit-labels trans-acc
|
||||
--BODY--
|
||||
State: 0
|
||||
[0] 1 {0}
|
||||
[1] 2 {1}
|
||||
[0] 1 {1}
|
||||
[1] 2 {0}
|
||||
State: 1
|
||||
[0] 2
|
||||
[0] 3 {1}
|
||||
[0] 3 {0}
|
||||
State: 2
|
||||
[1] 1
|
||||
[1] 3 {0}
|
||||
[1] 3 {1}
|
||||
State: 3
|
||||
[0] 3 {0 1}
|
||||
--END--
|
||||
|
|
@ -139,7 +136,7 @@ HOA: v1
|
|||
States: 4
|
||||
Start: 0
|
||||
AP: 2 "a" "b"
|
||||
Acceptance: 2 Inf(0)
|
||||
Acceptance: 2 Fin(0)
|
||||
properties: trans-labels explicit-labels trans-acc
|
||||
--BODY--
|
||||
State: 0
|
||||
|
|
@ -153,7 +150,7 @@ State: 3
|
|||
--END--
|
||||
EOF
|
||||
|
||||
run 0 ../../bin/autfilt --mask-acc=0 input4 -H >output
|
||||
run 0 ../../bin/autfilt --mask-acc=1 input4 -H >output
|
||||
diff output expect4
|
||||
|
||||
# Errors
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue