print_hoa: add option "k"

* src/twaalgos/hoa.cc, src/twaalgos/hoa.hh: Implement it.
* NEWS, doc/org/hoa.org, src/bin/common_aoutput.cc: Document it.
* src/tests/readsave.test: Test it.
This commit is contained in:
Alexandre Duret-Lutz 2015-11-27 23:26:17 +01:00
parent a825fa91e5
commit 745fda1a4f
6 changed files with 215 additions and 25 deletions

4
NEWS
View file

@ -48,6 +48,10 @@ New in spot 1.99.5a (not yet released)
automata already tagged as "deterministic", and "inherently-weak"
or "weak" even for automata tagged "weak" or "terminal".
* The HOA printer has a new option "k" (use "-Hk" from the command
line) to output automata using state labels whenever possible.
This is useful to print Kripke structures.
* The dot output will display pair of states when displaying an
automaton built as an explicit product. This works in IPython
with spot.product() or spot.product_or() and in the shell with