ltlfilt: add a --max-count/-n option
This fixes #44. * src/bin/ltlfilt.cc: Implement -n/--max-count. * doc/org/ltlfilt.org, src/tgbatest/randpsl.test: Use it * NEWS: Document it.
This commit is contained in:
parent
ae234d2e12
commit
8fd594f5d0
4 changed files with 53 additions and 26 deletions
|
|
@ -27,6 +27,8 @@ set -e
|
|||
# formulae, and that have a size of at lease 12.
|
||||
../../bin/randltl -n -1 --tree-size 30 --seed 0 --psl a b c |
|
||||
../../bin/ltlfilt -r --size-min 12 --unique |
|
||||
../../bin/ltlfilt -v --ltl | head -n 50 |
|
||||
../../bin/ltlfilt -v --ltl -n 50 | tee formulas |
|
||||
../../bin/ltlcross '../ltl2tgba -R3 -t %f >%T' '../ltl2tgba -x -R3 -t %f >%T' \
|
||||
-F - -f '{{(p1)}[*]:{(p3) && {{!(p1)} xor {!(p3)}}}}'
|
||||
|
||||
test `wc -l < formulas` = 50
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue