parity: add spot::change_parity()

This function changes the parity acceptance of an automaton.

* spot/twaalgos/parity.cc, spot/twaalgos/parity.hh: Here
* python/spot/impl.i: Add spot/twaalgos/parity.hh
* spot/twaalgos/Makefile.am: Add spot/twaalgos/parity.{cc,hh}
* tests/core/parity.cc, tests/core/parity.test: Add
spot::change_parity() tests
* tests/python/parity.ipynb: Add documentation about
spot::change_parity()
* tests/Makefile.am: Add tests/core/parity.{cc,hh} and
tests/python/parity.ipynb
* doc/org/tut.org: Add the html page of tests/python/parity.ipynb
This commit is contained in:
Laurent XU 2016-06-01 14:14:13 +02:00
parent b7ef7c55d7
commit 27982fb80f
9 changed files with 1916 additions and 1 deletions

View file

@ -62,6 +62,7 @@ twaalgos_HEADERS = \
minimize.hh \
couvreurnew.hh \
neverclaim.hh \
parity.hh \
postproc.hh \
powerset.hh \
product.hh \
@ -125,6 +126,7 @@ libtwaalgos_la_SOURCES = \
couvreurnew.cc \
ndfs_result.hxx \
neverclaim.cc \
parity.cc \
postproc.cc \
powerset.cc \
product.cc \