introduce spot::simplify_acceptance()

Simplify some automata where some marks are identical,
or complementary to another. Fixes #216.

* NEWS: mention the new function.
* spot/twaalgos/cleanacc.cc, spot/twaalgos/cleanacc.hh: Implement
  the function.
* tests/Makefile.am, tests/python/merge.py: Test this implementation.
This commit is contained in:
Thomas Medioni 2017-04-27 15:10:53 +02:00
parent 22620e185c
commit a12d676bdc
5 changed files with 884 additions and 0 deletions

4
NEWS
View file

@ -104,6 +104,10 @@ New in spot 2.3.4.dev (not yet released)
automaton. This parameter is defaulted to true, in order to
keep this modification backward-compatible.
- The new function spot::simplify_acceptance() is able to perform
some simplifications on an acceptance condition, and might lead
to the removal of some acceptance sets.
Python:
- The 'spot.gen' package exports the functions from libspotgen.