alternation: implement remove_alternation() for weak alt automata
This mixes the subset construction (for 1-state rejecting SCCs) and the breakpoint construction (for larger rejecting SCCs). The algorithm should probably be rewritten in a cleaner and more efficient way, but that should do for a first version. It should be easy to extend it to support Büchi acceptance (since the breakpoint construction works for this) when we need it. * spot/twaalgos/alternation.hh, spot/twaalgos/alternation.cc (remove_alternation): New function. * tests/python/alternation.ipynb: New file. * tests/Makefile.am, doc/org/tut.org: Add it.
This commit is contained in:
parent
582d455c23
commit
fa06cfa303
5 changed files with 2206 additions and 4 deletions
|
|
@ -302,6 +302,7 @@ if USE_PYTHON
|
|||
TESTS_ipython = \
|
||||
python/acc_cond.ipynb \
|
||||
python/accparse.ipynb \
|
||||
python/alternation.ipynb \
|
||||
python/atva16-fig2a.ipynb \
|
||||
python/atva16-fig2b.ipynb \
|
||||
python/automata-io.ipynb \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue