contains: generalize second argument to a twa

This was triggered by a question from Pierre Ganty on the mailing
list.

* spot/twaalgos/contains.hh, spot/twaalgos/contains.cc (contains):
Generalize second argument to const_twa_ptr instead of
const_twa_graph_ptr.
* NEWS: Mention this.
* tests/python/ltsmin-pml.ipynb: Show that it work.
* THANKS: Mention Pierre.
This commit is contained in:
Alexandre Duret-Lutz 2022-06-22 23:43:07 +02:00
parent be28365db4
commit 288b1c7958
5 changed files with 56 additions and 18 deletions

5
NEWS
View file

@ -108,6 +108,11 @@ New in spot 2.10.6.dev (not yet released)
run with additional option to abort when the tree as an unwanted
shape, or to turn the tree into a DAG.
- contains() can now take a twa as a second argument, not just a
twa_graph. This allows for instance to do contains(ltl, kripke)
to obtain a simple model checker (that returns true or false,
without counterexample).
New in spot 2.10.6 (2022-05-18)
Bugs fixed: