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 c25a67b00d
commit eb02db85da
5 changed files with 185 additions and 7 deletions

6
NEWS
View file

@ -1,5 +1,11 @@
New in spot 2.7.1.dev (not yet released)
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.
Library:
- Add generic_accepting_run() as a variant of generic_emptiness_check() that