autfilt: easier simplification defaults

This is motivated by an email from Fanda.

* src/bin/common_post.cc, src/bin/common_post.hh: Add variables to
detect when level or pref are sets.
* src/bin/autfilt.cc: Adjust default for pref/sets.
* src/tests/readsave.test: Add test cases.
* NEWS: Mention it.
This commit is contained in:
Alexandre Duret-Lutz 2015-10-15 16:37:26 +02:00
parent 2ae1b6a6f0
commit e3682a2301
5 changed files with 40 additions and 2 deletions

8
NEWS
View file

@ -5,6 +5,14 @@ New in spot 1.99.4a (not yet released)
* autfilt has gained a --complement option.
It currently work 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
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
(unless specified otherwise).
Library:
* Rename dtgba_complement() as dtwa_complement(), rename the header