python: port the tut22.org example to Python

* wrap/python/spot_impl.i: Extend acc_cond::mark_t to with a constructor
that takes a vector.
* doc/org/tut22.org: Add a Python version.
* doc/org/tut.org: Adjust the list, we don't have any C++-specific
example.
* NEWS: Mention it.
This commit is contained in:
Alexandre Duret-Lutz 2015-12-15 19:01:33 +01:00
parent 9313222e95
commit c39d35d068
4 changed files with 82 additions and 15 deletions

4
NEWS
View file

@ -39,6 +39,10 @@ New in spot 1.99.6a (not yet released)
twa_graph::out() C++ function) is now possible in Python. See
https://spot.lrde.epita.fr/tut21.html for a demonstration.
* Membership to acceptance sets can be specified using Python list
when calling for instance the Python version of twa_graph::new_edge().
See https://spot.lrde.epita.fr/tut22.html for a demonstration.
Documentation:
* There is a new page explaining how to compile example programs and