specialize scc_filter for inherently_weak automata
Part of issue #351. * spot/twaalgos/sccfilter.cc, spot/twaalgos/sccfilter.hh: Specialize for inherently-weak automata. * spot/twaalgos/postproc.cc: Simplify. * tests/core/dca2.test, tests/core/parity2.test, tests/core/prodor.test, tests/core/randomize.test, tests/python/automata.ipynb, tests/python/highlighting.ipynb, tests/python/product.ipynb, tests/python/remfin.py, tests/python/stutter-inv.ipynb: Adjust. * NEWS: Mention it.
This commit is contained in:
parent
2fad1ff6de
commit
95d732e331
13 changed files with 1245 additions and 2011 deletions
6
NEWS
6
NEWS
|
|
@ -122,6 +122,12 @@ New in spot 2.5.3.dev (not yet released)
|
|||
to update an external structure that references states of the twa
|
||||
that we want to purge.
|
||||
|
||||
- spot::scc_filter() now automatically turns automata marked as
|
||||
inherently-weak into weak automata with state-based acceptance.
|
||||
The acceptance condition is set to Büchi unless the input had
|
||||
co-Büchi or t acceptance. spot::scc_filter_states() will pass
|
||||
inherently-weak automata to spot::scc_filter().
|
||||
|
||||
- spot::cleanup_parity() and spot::cleanup_parity_here() are smarter
|
||||
and now remove from the acceptance condition the parity colors
|
||||
that are not used in the automaton.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue