Implement to_weak_alternating() which weakifies tgbas

* NEWS: mention the modification.
* python/spot/impl.i: makes to_weak_alternating visible from python
* spot/twaalgos/Makefile.am, spot/twaalgos/toweak.cc,
  spot/twaalgos/toweak.hh: Implements to_weak_alternating.
* tests/Makefile.am, tests/python/toweak.py: Test the results of
  to_weak_alternating.
This commit is contained in:
Thomas Medioni 2017-06-20 11:32:19 +02:00
parent 71b08b034a
commit c8889e65f0
7 changed files with 361 additions and 0 deletions

4
NEWS
View file

@ -144,6 +144,10 @@ New in spot 2.3.5.dev (not yet released)
more (this threshold can be changed, see -x relabel-bool=N in
the spot-x(7) man page).
- The new function spot::to_weak_alternating() is able to take an
input automaton with generalized Büchi/co-Büchi acceptance and
convert it to a weak alternating automaton.
Python:
- The 'spot.gen' package exports the functions from libspotgen.