twa: add support for very-weak property
* spot/twa/twa.hh: Implement the property. * spot/parseaut/parseaut.yy, spot/twaalgos/hoa.cc: Add input and output for it. * spot/twaalgos/strength.cc, spot/twaalgos/strength.hh (is_very_weak_automaton): New function. * tests/core/alternating.test: Add a test for --check=strength on an alternating automaton. * tests/core/strength.test, tests/core/parseaut.test: Adjust expected output. * NEWS, doc/org/hoa.org, doc/org/concepts.org: Document it.
This commit is contained in:
parent
a4ce999402
commit
582d455c23
11 changed files with 146 additions and 33 deletions
|
|
@ -126,3 +126,10 @@ digraph G {
|
|||
EOF
|
||||
|
||||
diff expect.dot alt.dot
|
||||
|
||||
autfilt --trust=no --check=strength alt.hoa | grep properties: >output
|
||||
cat >expected <<EOF
|
||||
properties: univ-branch trans-labels explicit-labels state-acc
|
||||
properties: very-weak
|
||||
EOF
|
||||
diff output expected
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue