Add support for --check=strength

* src/twaalgos/strength.cc, src/twaalgos/strength.hh (check_strength):
New function.
* src/bin/common_aoutput.cc: Add --check=strength.
* src/tests/strength.test: New file.
* src/tests/Makefile.am: Add it.
* doc/org/hoa.org, NEWS: Document it.
This commit is contained in:
Alexandre Duret-Lutz 2015-11-07 21:40:04 +01:00
parent f4cf0f4078
commit 3428fb32cd
7 changed files with 223 additions and 16 deletions

View file

@ -591,8 +591,8 @@ particular:
| =unambiguous= | trusted | yes | as stored if (=-Hv= or not =deterministic=) | can be re-checked with =--check=unambiguous= |
| =stutter-invariant= | trusted | yes | as stored | can be re-checked with =--check=stuttering= |
| =stutter-sensitive= | trusted | yes | as stored | can be re-checked with =--check=stuttering= |
| =terminal= | trusted | yes | as stored | |
| =weak= | trusted | yes | as stored if (=-Hv= or not =terminal=) | |
| =terminal= | trusted | yes | as stored | can be re-checked with =--check=strength= |
| =weak= | trusted | yes | as stored if (=-Hv= or not =terminal=) | can be re-checked with =--check=strength= |
| =inherently-weak= | trusted | yes | as stored if (=-Hv= or not =weak=) | |
| =colored= | ignored | no | checked | |
@ -867,6 +867,6 @@ When an automaton is output in HOA format, the =property:= lines
includes property registered into the automaton (see the Property
bits section above), and property that are trivial to compute.
Command-line with a HOA output all have a =--check= option that can be
used to request additional checks such as testing whether the
automaton is stutter-invariant, or unambiguous.
Command-line tools with a HOA output all have a =--check= option that
can be used to request additional checks such as testing whether the
automaton is stutter-invariant, unambiguous, weak, and terminal.