Slight improvement of the determinization

* spot/twaalgos/determinize.cc: the acceptance condition
  of the determinized automaton should be simpler
* tests/core/safra.test, tests/python/simstate.py: update tests
This commit is contained in:
Maximilien Colange 2018-02-08 18:15:34 +01:00
parent e945beb607
commit 41d5e44914
3 changed files with 42 additions and 49 deletions

View file

@ -45,15 +45,15 @@ HOA: v1
States: 4
Start: 0
AP: 2 "a" "b"
acc-name: Rabin 1
Acceptance: 2 Fin(0) & Inf(1)
acc-name: Buchi
Acceptance: 1 Inf(0)
properties: trans-labels explicit-labels trans-acc deterministic
--BODY--
State: 0
[0] 1
State: 1
[!0&1] 2
[0] 3 {1}
[0] 3 {0}
State: 2
[0&!1] 0
[!0&1] 2
@ -90,27 +90,27 @@ HOA: v1
States: 5
Start: 0
AP: 2 "a" "b"
acc-name: Rabin 1
Acceptance: 2 Fin(0) & Inf(1)
acc-name: Buchi
Acceptance: 1 Inf(0)
properties: trans-labels explicit-labels trans-acc deterministic
--BODY--
State: 0
[0] 1
State: 1
[0&!1] 1
[!0&1] 2 {1}
[!0&1] 2 {0}
[0&1] 3
State: 2
[0&!1] 0
[!0&1] 2 {1}
[!0&1] 2 {0}
[0&1] 3
State: 3
[0&1] 1 {1}
[!0&1] 2 {1}
[0&1] 1 {0}
[!0&1] 2 {0}
[0&!1] 4
State: 4
[0] 1 {1}
[!0&1] 2 {1}
[0] 1 {0}
[!0&1] 2 {0}
--END--
EOF