python: give access to the "product-states" property

* python/spot/impl.i (get_product_states, set_product_states): New.
* tests/python/product.ipynb: Use it.
* NEWS: Mention it.
This commit is contained in:
Alexandre Duret-Lutz 2017-12-22 17:23:56 +01:00
parent 904cfb27fa
commit 19348c8938
3 changed files with 259 additions and 13 deletions

5
NEWS
View file

@ -212,6 +212,11 @@ New in spot 2.4.3.dev (not yet released)
- The new function spot::check_determinism() sets both
prop_semi_deterministic() and prop_universal() appropriately.
Python:
- The "product-states" property of automata is now accessible via
spot.twa.get_product_states() and spot.set.get_product_states().
Deprecation notices:
(These functions still work but compilers emit warnings.)