twagraph: improve copy of kripke_graph

Fix #505, Reported by Edmond Irani Liu.

* spot/twa/twagraph.cc (copy): Deal with kripke_graph in a better way.
* spot/twaalgos/hoa.cc: Do not force the use of named-states since
when the input is a kripke_graph.
* tests/python/kripke.py: Adjust test cases.
* NEWS: Mention the change.
* THANKS: Add Edmund.
This commit is contained in:
Alexandre Duret-Lutz 2022-05-09 13:42:20 +02:00
parent ef9267a58e
commit 013c879b41
5 changed files with 54 additions and 14 deletions

5
NEWS
View file

@ -82,6 +82,11 @@ New in spot 2.10.5.dev (not yet released)
averted in the parser by delaying the construction of such n-ary
nodes until all children are known.
- make_twa_graph() will now preserve state number when copying a
kripke_graph object. As a consequence, print_dot() and
print_hoa() will now use state numbers matching those of the
kripke_graph (issue #505).
New in spot 2.10.5 (2022-05-03)
Bugs fixed: