cleanup ltsmin bindings

* python/spot/aux.py (rm_f): new function.
* python/spot/ltsmin.i: Replace the %require magic by a simple function.
Rewrite the %%dve magic.
* tests/python/otfcrash.py: Simplify using spot.ltsmin.require()
* tests/python/ltsmin.ipynb: Likewise, also add more text for the
documentation.
* NEWS: Adjust.
This commit is contained in:
Alexandre Duret-Lutz 2016-02-16 19:08:28 +01:00
parent 9b5a763538
commit 9692d734a9
5 changed files with 559 additions and 611 deletions

8
NEWS
View file

@ -104,11 +104,9 @@ New in spot 1.99.7a (not yet released)
Python:
* The ltsmin interface has been binded in Python. See
https://spot.lrde.epita.fr/ipynb/ltsmin.html for a short example.
* The ltsmin interface support two extra 'magic commands' when ipython
is used: %dve and %%require.
* The ltsmin interface has been binded in Python. It also
comes with a %%dve cell magic to edit DiVinE models in the notebook.
See https://spot.lrde.epita.fr/ipynb/ltsmin.html for a short example.
* spot.setup() sets de maximum number of states to display in
automata to 50 by default, as more states is likely to be