add support for the weak property

This fixes #119.

* doc/org/tut21.org, doc/org/hoa.org, NEWS: Document it.
* src/twa/twa.hh: Support it in automata.
* src/twaalgos/hoa.cc, src/parseaut/parseaut.yy: Add I/O support.
* src/twaalgos/minimize.cc, src/twaalgos/totgba.cc: Set weak
automata on output.
* src/tests/complement.test, src/tests/parseaut.test,
src/tests/readsave.test, src/tests/remfin.test, src/tests/sccsimpl.test,
src/tests/wdba2.test, wrap/python/tests/automata-io.ipynb: Adjust.
This commit is contained in:
Alexandre Duret-Lutz 2015-11-06 18:31:05 +01:00
parent eecd201273
commit 654888718c
15 changed files with 62 additions and 33 deletions

8
NEWS
View file

@ -22,12 +22,16 @@ New in spot 1.99.5a (not yet released)
Boolean argument. This argument used to be optionnal (defaulting
to True), but it no longer is.
* Automata now support the "weak" property in addition to the
previously supported "inherently-weak".
* By default the HOA printer tries to not bloat the output with
properties that are probably useless. The HOA printer now has a
new option "v" (use "-Hv" from the command line) to output more
verbose "properties:". This currently includes outputing
"no-univ-branch", and outputting "unambiguous" even for automata
already tagged as "deterministic".
"no-univ-branch", outputting "unambiguous" even for automata
already tagged as "deterministic", and "inherently-weak" even
for automata tagged as "weak".
Python:
* Add bindings for is_unambiguous().