bin: add --check=unambiguous
* src/bin/common_aoutput.cc: Add --check=unambiguous. * src/twa/twa.hh: New unambiguous property. * src/twaalgos/hoa.cc: Print it. * src/twaalgos/ltl2tgba_fm.cc: Set it. * src/twaalgos/isunamb.cc, src/twaalgos/isunamb.hh (check_unambiguous): New function. * src/tests/unambig.test: More tests.
This commit is contained in:
parent
98de84f3de
commit
487a86d06a
7 changed files with 47 additions and 7 deletions
|
|
@ -35,6 +35,8 @@ for f in 'Ga' \
|
|||
do
|
||||
$ltl2tgba -UH "$f" | $autfilt -q --is-unambiguous
|
||||
$ltl2tgba -UH "!($f)" | $autfilt -q --is-unambiguous
|
||||
$ltl2tgba -UH "$f" | $autfilt --check | grep unambiguous
|
||||
$ltl2tgba -UH "!($f)" | $autfilt --check | grep unambiguous
|
||||
done
|
||||
|
||||
for f in FGa
|
||||
|
|
@ -82,3 +84,5 @@ State: 1
|
|||
EOF
|
||||
|
||||
run 1 $autfilt -q --is-unambiguous input
|
||||
run 0 $autfilt --check input > output
|
||||
test `grep -c unambiguous output` = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue