remove_fin: use simplify_acceptance

* spot/twaalgos/remfin.cc: Simplify acceptance before trying the
different strategies.
* spot/twaalgos/cleanacc.cc: Skip simplify_complementary_marks_here()
on generalized Büchi.
* tests/core/remfin.test, tests/python/tra2tba.py: Adjust.
* spot/twaalgos/totgba.cc: Simplify the result of Streett->GBA.
* NEWS: Adjust.
This commit is contained in:
Alexandre Duret-Lutz 2018-01-06 11:56:43 +01:00
parent 2feba6ad5e
commit a924bc561a
6 changed files with 43 additions and 42 deletions

View file

@ -94,8 +94,8 @@ exp = """HOA: v1
States: 2
Start: 0
AP: 2 "a" "b"
acc-name: Buchi
Acceptance: 1 Inf(0)
acc-name: none
Acceptance: 0 f
properties: trans-labels explicit-labels state-acc deterministic
--BODY--
State: 0
@ -383,11 +383,11 @@ Acceptance: 1 Inf(0)
properties: trans-labels explicit-labels state-acc deterministic
--BODY--
State: 0 {0}
[!1&!2] 0
[1&!2] 1
[!1&!2] 0
State: 1
[!1&!2] 0
[1&!2] 1
[!1&!2] 0
--END--"""
res = spot.remove_fin(aut)