acc: introduce top_conjuncts() and top_disjuncts()

* spot/twa/acc.cc, spot/twa/acc.hh: Add the new functions.
* python/spot/impl.i: Add bindings.
* tests/python/acc_cond.ipynb: Add tests.
* NEWS: Mention it.
This commit is contained in:
Alexandre Duret-Lutz 2019-03-22 13:50:05 +01:00
parent 55c50c65c8
commit 510a18b156
5 changed files with 202 additions and 73 deletions

4
NEWS
View file

@ -20,6 +20,10 @@ New in spot 2.7.2.dev (not yet released)
'ltldo ltl2dstar -f 'GFa -> GFb' | autfilt --small' produces 1
state instead of 4.)
- acc_cond::acc_code::top_disjuncts() and
acc_cond::acc_code::top_conjuncts() can be used to split an
acceptance condition on the top-level & or |.
Bugs fixed:
- When processing CSV files with MSDOS-style \r\n line endings,