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:
parent
b7ef7c55d7
commit
27982fb80f
9 changed files with 1916 additions and 1 deletions
|
|
@ -82,6 +82,7 @@ check_PROGRAMS = \
|
|||
core/nequals \
|
||||
core/nenoform \
|
||||
core/ngraph \
|
||||
core/parity \
|
||||
core/randtgba \
|
||||
core/readsat \
|
||||
core/reduc \
|
||||
|
|
@ -128,6 +129,7 @@ core_nenoform_SOURCES = core/equalsf.cc
|
|||
core_nenoform_CPPFLAGS = $(AM_CPPFLAGS) -DNENOFORM
|
||||
core_nequals_SOURCES = core/equalsf.cc
|
||||
core_nequals_CPPFLAGS = $(AM_CPPFLAGS) -DNEGATE
|
||||
core_parity_SOURCES = core/parity.cc
|
||||
core_reduc_SOURCES = core/reduc.cc
|
||||
core_reduccmp_SOURCES = core/equalsf.cc
|
||||
core_reduccmp_CPPFLAGS = $(AM_CPPFLAGS) -DREDUC
|
||||
|
|
@ -301,7 +303,8 @@ TESTS_twa = \
|
|||
core/cycles.test \
|
||||
core/acc_word.test \
|
||||
core/dca.test \
|
||||
core/dnfstreett.test
|
||||
core/dnfstreett.test \
|
||||
core/parity.test
|
||||
|
||||
############################## PYTHON ##############################
|
||||
|
||||
|
|
@ -324,6 +327,7 @@ TESTS_ipython = \
|
|||
python/ltsmin-dve.ipynb \
|
||||
python/ltsmin-pml.ipynb \
|
||||
python/piperead.ipynb \
|
||||
python/parity.ipynb \
|
||||
python/product.ipynb \
|
||||
python/randaut.ipynb \
|
||||
python/randltl.ipynb \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue