twa: make sure intersection_run and intersection_word use genem

* spot/twa/twa.cc (accepting_word, intersecting_run,
intersecting_word): Refactor.
* tests/python/contains.ipynb: Adjust.
This commit is contained in:
Alexandre Duret-Lutz 2019-04-24 16:35:32 +02:00
parent 17f91132f9
commit 84fa824f7e
3 changed files with 52 additions and 27 deletions

4
NEWS
View file

@ -13,8 +13,8 @@ New in spot 2.7.3.dev (not yet released)
- Add generic_accepting_run() as a variant of generic_emptiness_check() that
returns an accepting run in an automaton with any acceptance condition.
- twa::accepting_run() now works on automata using Fin in
their acceptance condition.
- twa::accepting_run() and twa::intersecting_run() now work on
automata using Fin in their acceptance condition.
- simulation-based reductions have learned a trick that sometimes
improve transition-based output when the input is state-based.