add a newer version of the generic emptiness check
As discussed with Jan Strejček. * spot/twa/acc.cc, spot/twa/acc.hh (fin_unit_one_split): New function. (fin_one_extract): Return the simplified acceptance condition as an optimization. * python/spot/impl.i: Bind this new function. * tests/python/acc.py: New file, to test it. * tests/Makefile.am: Add acc.py. * spot/twaalgos/genem.cc, spot/twaalgos/genem.hh: Implement the spot211 variant of the emptiness check. * tests/python/genem.py: Test it. * tests/python/acc_cond.ipynb: Adjust test for fin_one_extract.
This commit is contained in:
parent
aca6bd9042
commit
721d5695ec
9 changed files with 308 additions and 30 deletions
|
|
@ -391,6 +391,7 @@ TESTS_python = \
|
|||
python/_altscc.ipynb \
|
||||
python/_autparserr.ipynb \
|
||||
python/_aux.ipynb \
|
||||
python/acc.py \
|
||||
python/accparse2.py \
|
||||
python/alarm.py \
|
||||
python/aliases.py \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue