Impove simplify_acceptance
* spot/twaalgos/cleanacc.cc: Use cleanup_acceptance if propagate_fin_inf was useful. * spot/twa/acc.hh: Avoid to reverse the order of the condition in propagate_fin_inf. * tests/core/accsimpl.test, tests/core/remfin.test, tests/python/merge.py, tests/python/automata.ipynb: Update tests. * tests/python/toparity.py: Update tests and add tests to check the number of states.
This commit is contained in:
parent
a020607664
commit
630b8333fe
7 changed files with 1029 additions and 1139 deletions
|
|
@ -49,5 +49,5 @@ State: 0
|
|||
EOF
|
||||
|
||||
autfilt --simplify-acceptance 325 > 325s
|
||||
exp='4 Fin(0) | (Fin(0) & Inf(1)) | (Fin(2) & Inf(3))'
|
||||
exp='3 Fin(0) | (Fin(1) & Inf(2))'
|
||||
test "$exp" = "`autfilt --stats='%a %g' 325s`"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue