translate any automaton to a parity automaton

* spot/twaalgos/toparity.cc, spot/twaalgos/toparity.hh: implement it,
  based on last-appearance record (LAR)
* spot/twaalgos/Makefile.am: build it
* NEWS: document it
* python/spot/impl.i: add to python bindings
* tests/Makefile.am, tests/python/toparity.py: test it
This commit is contained in:
Maximilien Colange 2018-07-23 10:59:38 +02:00
parent da996ecbaf
commit 465536d1fe
7 changed files with 236 additions and 0 deletions

4
NEWS
View file

@ -27,6 +27,10 @@ New in spot 2.6.0.dev (not yet released)
twa_graph_ptr::is_empty(), twa_graph_ptr::intersects(), and
scc_info::determine_unknown_acceptance().
- The new function spot::to_parity() translates an automaton
with arbitrary acceptance condition into a parity automaton,
based on a last-appearance record (LAR) construction.
New in spot 2.6 (2018-07-04)
Command-line tools: