minimize_wdba: fix handling of input with useless SCCs
* spot/twaalgos/minimize.cc (minimize_wdba): Diminish the color of terminal SCCs that are incomplete, as if they had a non-accepting sink as successor. * spot/twaalgos/strength.hh, spot/twaalgos/strength.cc (is_terminal_automaton): Add an option to ignore trivial SCC as we did before, since it matters for deciding membership to the guarantee class. (is_safety_mwdba): Rewrite as ... (is_safety_automaton): ... generalizating to any acceptance, and ignoring trivial SCCs. * bin/ltlfilt.cc, python/ajax/spotcgi.in, spot/tl/hierarchy.cc, tests/core/ikwiad.cc: Adjust usage of is_terminal_automaton and is_safety_automaton(). * tests/core/hierarchy.test: Add a problematic formula as test-case. * NEWS: Mention the bug.
This commit is contained in:
parent
7d9ce0d6fc
commit
c9918f6407
9 changed files with 94 additions and 50 deletions
11
NEWS
11
NEWS
|
|
@ -46,7 +46,7 @@ New in spot 2.2.2.dev (Not yet released)
|
|||
are automata-based and will also match pathological formulas.
|
||||
|
||||
* The --format option of ltlfilt/genltl/randltl/ltlgrind learned to
|
||||
print the class of a formula in the temporal hierachy of Manna &
|
||||
print the class of a formula in the temporal hierarchy of Manna &
|
||||
Pnueli using %h. Try to classify the Dwyer & al. patterns with:
|
||||
genltl --dac --format='%[vw]h' | sort | uniq -c
|
||||
|
||||
|
|
@ -130,6 +130,15 @@ New in spot 2.2.2.dev (Not yet released)
|
|||
* The new function mp_class(f) returns the class of the formula
|
||||
f in the temporal hierarchy of Manna & Pnueli.
|
||||
|
||||
Bug fixed:
|
||||
|
||||
* The minimize_wdba() function was not correctly minimizing automata
|
||||
with useless SCCs. This was not an issue for the LTL translation
|
||||
(where useless SCCs are always removed first), but it was an issue
|
||||
when deciding if a formula was safety or guarantee. As a
|
||||
consequence, some tricky safety or guarantee properties were only
|
||||
recognized as obligations.
|
||||
|
||||
New in spot 2.2.2 (2016-12-16)
|
||||
|
||||
Build:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue