python: improve kripke_graph bindings

Related to issue #376.

* spot/kripke/kripkegraph.hh: Avoid indirect type definitions for the
benefit of Swig.
* python/spot/impl.i: Add bindings for iterators over kripke_graph
states and edges.
* tests/python/kripke.py: New file.
* tests/Makefile.am: Add it.
* NEWS: Update.
This commit is contained in:
Alexandre Duret-Lutz 2019-02-21 21:56:15 +01:00
parent 4ecd066c0e
commit 8f7a0c2f7a
5 changed files with 184 additions and 8 deletions

6
NEWS
View file

@ -1,6 +1,10 @@
New in spot 2.7.1.dev (not yet released)
Nothing yet.
Python:
- Improved support for explicit Kripke structure. It is now
possible to iterate over a kripke_graph object in a way similar to
twa_graph.
New in spot 2.7.1 (2019-02-14)