ltlcross: add a --products=N option
* src/bin/ltlcross.cc: Implement the new option. Average the product statistics on all products. * src/tgbatest/basimul.test, src/tgbatest/ltlcross.test, src/tgbatest/ltlcross2.test, bench/ltl2tgba/tools: Use the new option. * NEWS: Mention it.
This commit is contained in:
parent
b4670f85f1
commit
9b82d7557c
6 changed files with 141 additions and 83 deletions
|
|
@ -54,9 +54,7 @@ ltl2tgba=../../bin/ltl2tgba
|
|||
# --spin -x ba-simul=2
|
||||
# --spin -x ba-simul=3
|
||||
|
||||
|
||||
for seed in 1 2 3; do
|
||||
../../bin/ltlcross --seed=$seed --density=0.$seed \
|
||||
../../bin/ltlcross --seed=0 --products=5 --json=out.json \
|
||||
-f 'X((F(Xa | b) W c) U (Xc W (a & d)))' \
|
||||
-f '((<> p5 V ((p0 U p1) <-> (p5 \/ p1))) -> ((<> p4 V p2) M p2))' \
|
||||
-f '!p2 & (Fp5 R (((p0 U p1) & (p5 | p1)) | (!p5 & (!p0 R !p1))))' \
|
||||
|
|
@ -73,4 +71,3 @@ for seed in 1 2 3; do
|
|||
"$ltl2tgba --ba --high --spin -x ba-simul=1 %f >%N" \
|
||||
"$ltl2tgba --ba --high --spin -x ba-simul=2 %f >%N" \
|
||||
"$ltl2tgba --ba --high --spin -x ba-simul=3 %f >%N"
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue