minimize_obligation: complement very weak automata if needed

Fixes #379.

* spot/twaalgos/minimize.cc: Here.
* tests/core/optba.test: Add test case provided by Rüdiger Ehlers.
* NEWS: Mention the improvement.
This commit is contained in:
Alexandre Duret-Lutz 2019-03-20 22:02:02 +01:00
parent ef106e2860
commit 01edf4f8e1
3 changed files with 32 additions and 5 deletions

5
NEWS
View file

@ -24,6 +24,11 @@ New in spot 2.7.2.dev (not yet released)
acc_cond::acc_code::top_conjuncts() can be used to split an
acceptance condition on the top-level & or |.
- minimize_obligation() learned to work on very weak automata even
if the formula or negated automaton are not supplied. (This
allows "autfilt [-D] --small" to minimize very-weak automata
whenever they are found to represent obligation properties.)
Bugs fixed:
- When processing CSV files with MSDOS-style \r\n line endings,