alternation: add a states_and algorithm

This should will come handy to implement the convertion from LTL to
alternating automata, and to handle automata with multiple initial
states.

* spot/twaalgos/alternation.hh, spot/twaalgos/alternation.cc: New files.
* spot/twaalgos/Makefile.am: Add them.
* python/spot/impl.i: Add bindings.
* tests/python/alternating.py: Test states_and.
This commit is contained in:
Alexandre Duret-Lutz 2016-11-27 22:14:11 +01:00
parent 48c812a595
commit 27ab631cdc
5 changed files with 233 additions and 0 deletions

View file

@ -28,6 +28,7 @@ AM_CXXFLAGS = $(WARNING_CXXFLAGS)
twaalgosdir = $(pkgincludedir)/twaalgos
twaalgos_HEADERS = \
alternation.hh \
are_isomorphic.hh \
bfssteps.hh \
canonicalize.hh \
@ -84,6 +85,7 @@ twaalgos_HEADERS = \
noinst_LTLIBRARIES = libtwaalgos.la
libtwaalgos_la_SOURCES = \
alternation.cc \
are_isomorphic.cc \
bfssteps.cc \
canonicalize.cc \