genem: implement a generic emptiness check for twa_graph_ptr

* spot/twa/acc.cc, spot/twa/acc.hh (fin_unit, one_fin): New function.
* spot/twaalgos/genem.cc, spot/twaalgos/genem.hh: New files.
* spot/twaalgos/Makefile.am: Add it.
* tests/python/genem.py: New file.
* tests/Makefile.am: Add it.
* python/spot/impl.i: Add bindings for genem.hh.
* NEWS: Mention the new function.
This commit is contained in:
Alexandre Duret-Lutz 2017-04-04 13:55:54 +02:00
parent 74dfd73aae
commit d708174cfe
9 changed files with 514 additions and 0 deletions

View file

@ -375,6 +375,7 @@ TESTS_python = \
python/dualize.py \
python/except.py \
python/gen.py \
python/genem.py \
python/implies.py \
python/interdep.py \
python/ltl2tgba.test \