bin: add support for -b/--buchi

* bin/common_post.cc, bin/randaut.cc: Implement -b/--buchi.
Also add --sba as alias for -B, and --gba as alias for --tgba.
* NEWS: Document those changes.
* doc/org/ltl2tgba.org, doc/org/oaut.org: Adjust documentation.
* tests/core/ltl2tgba2.test, tests/core/ltlcross2.test,
tests/core/randaut.test: Add more tests.
* tests/core/sbacc.test: --sbacc cannot be abbreviated as --sba
anymore.
This commit is contained in:
Alexandre Duret-Lutz 2020-12-15 17:55:39 +01:00
parent 7c6b35313a
commit 8785f5a74b
9 changed files with 520 additions and 479 deletions

View file

@ -52,6 +52,12 @@ grep 'ba.*incompatible' stderr
randaut --ba -A0 3 2>stderr && exit 1
grep 'ba.*incompatible' stderr
randaut --buchi -A2 3 2>stderr && exit 1
grep 'buchi.*incompatible' stderr
randaut -b 2 | autfilt --acceptance-is=Buchi | grep trans-acc
randaut -B 2 | autfilt --acceptance-is=Buchi | grep state-acc
randaut --states 10..20 2 -n 100 -H > aut.hoa
a=`autfilt --states=..14 -c <aut.hoa`
b=`autfilt aut.hoa --states=15.. -c`