parseaut: Add a trust_hoa option.
Fixes #114. * src/parseaut/public.hh: Add support for a trust_hoa option. * src/parseaut/parseaut.yy: If trust_hoa is set, recognize the "inherently-weak" and "stutter-invariant" properties. * src/bin/common_conv.cc, src/bin/common_conv.hh (read_automaton): Move... * src/bin/common_hoaread.cc, src/bin/common_hoaread.hh: ... in this new file, that also handle the --trust-hoa option. * src/bin/Makefile.am: Add them. * src/bin/autfilt.cc, src/bin/dstar2tgba.cc, src/bin/ltlcross.cc, src/bin/ltldo.cc: Use them. * src/tests/parseaut.test, src/tests/ltldo.test: Adjust, and test --trust-hoa=no. * src/tests/complement.test, src/tests/prodor.test, src/tests/sbacc.test: Adjust. * wrap/python/spot.py (automata): Add option trust_hoa. * NEWS: Update.
This commit is contained in:
parent
585e29e7d8
commit
51a75a316d
18 changed files with 221 additions and 38 deletions
24
NEWS
24
NEWS
|
|
@ -6,13 +6,17 @@ New in spot 1.99.4a (not yet released)
|
|||
It currently works only for deterministic automata.
|
||||
|
||||
* By default, autfilt does not simplify automata (this has not
|
||||
changed), as if the --low --any options where used. But now, if
|
||||
changed), as if the --low --any options were used. But now, if
|
||||
one of --small, --deterministic, or --any is given, the
|
||||
optimization level automatically defaults to --high (unless
|
||||
specified otherwise). For symmetry, if one of --low, --medium, or
|
||||
--high is given, thn the translation intent defaults to --small
|
||||
--high is given, then the translation intent defaults to --small
|
||||
(unless specified otherwise).
|
||||
|
||||
* autfilt, dstar2tgba, ltlcross, and ltldo now trust the (supported)
|
||||
automaton properties declared in any HOA file they read. This can
|
||||
be disabled with option --trust-hoa=no.
|
||||
|
||||
* ltlgrind FILENAME[/COL] is now the same as
|
||||
ltlgrind -F FILENAME[/COL] for consistency with ltlfilt.
|
||||
|
||||
|
|
@ -39,6 +43,11 @@ New in spot 1.99.4a (not yet released)
|
|||
* The HOA parser will diagnose any version that is not v1, unless it
|
||||
looks like a subversion of v1 and no parse error was detected.
|
||||
|
||||
* The way to pass option to the automaton parser has been changed to
|
||||
make it easier to introduct new options. One such new option is
|
||||
"trust_hoa": when true (the default) supported properties declared
|
||||
in HOA files are trusted even if they cannot be easily be verified.
|
||||
|
||||
* ltl_simplifier renamed to tl_simplifier.
|
||||
|
||||
Python:
|
||||
|
|
@ -53,9 +62,14 @@ New in spot 1.99.4a (not yet released)
|
|||
* spot.postprocess(aut, *options), or aut.postprocess(*options)
|
||||
simplify the use of the spot.postprocessor object. (Just like we
|
||||
have spot.translate() on top of spot.translator().)
|
||||
* spot.automata() and spot.automaton() now have an optional
|
||||
timeout argument to restrict the runtime of commands that
|
||||
produce automata.
|
||||
* spot.automata() and spot.automaton() now have additional
|
||||
optional arguments:
|
||||
- timeout: to restrict the runtime of commands that
|
||||
produce automata
|
||||
- trust_hoa: can be set to False to ignore HOA properties
|
||||
that cannot be easily verified
|
||||
- ignore_abort: can be set to False if you do not want to
|
||||
skip automata ended with --ABORT--.
|
||||
|
||||
Bugs fixed:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue