org: simplify the calls to ltl2dstar
* doc/org/dstar2tgba.org, doc/org/satmin.org: Here.
This commit is contained in:
parent
750d352fb6
commit
fd16383e70
2 changed files with 7 additions and 7 deletions
|
|
@ -25,7 +25,7 @@ Additionally we use =ltlfilt= to convert our formula to the
|
||||||
prefix format used by =ltl2dstar=.
|
prefix format used by =ltl2dstar=.
|
||||||
|
|
||||||
#+BEGIN_SRC sh :results verbatim :exports node
|
#+BEGIN_SRC sh :results verbatim :exports node
|
||||||
ltlfilt -f 'Fa & GFb' -l | ltl2dstar --ltl2nba=spin:../../src/bin/ltl2tgba@-sD - fagfb
|
ltlfilt -f 'Fa & GFb' -l | ltl2dstar --ltl2nba=spin:ltl2tgba@-sD - fagfb
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
By looking at the file =fagfb= you can see the =ltl2dsar= actually
|
By looking at the file =fagfb= you can see the =ltl2dsar= actually
|
||||||
|
|
@ -350,7 +350,7 @@ head -n 10 |
|
||||||
while read f; do
|
while read f; do
|
||||||
echo "$f"
|
echo "$f"
|
||||||
ltlfilt -l -f "$f" |
|
ltlfilt -l -f "$f" |
|
||||||
ltl2dstar --ltl2nba=spin:../../src/bin/ltl2tgba@-Ds - - |
|
ltl2dstar --ltl2nba=spin:ltl2tgba@-Ds - - |
|
||||||
dstar2tgba -B --stats=' DRA: %Sst.; BA: %sst.; det.? %d; complete? %p'
|
dstar2tgba -B --stats=' DRA: %Sst.; BA: %sst.; det.? %d; complete? %p'
|
||||||
done
|
done
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
|
||||||
|
|
@ -683,16 +683,16 @@ its iterations in this file.
|
||||||
rm -f stats.csv
|
rm -f stats.csv
|
||||||
export SPOT_SATLOG=stats.csv
|
export SPOT_SATLOG=stats.csv
|
||||||
ltlfilt -f "Ga R (F!b & (c U b))" -l |
|
ltlfilt -f "Ga R (F!b & (c U b))" -l |
|
||||||
ltl2dstar --ltl2nba=spin:../../src/bin/ltl2tgba@-Ds - - |
|
ltl2dstar --ltl2nba=spin:ltl2tgba@-Ds - - |
|
||||||
dstar2tgba -D -x sat-minimize,sat-acc=2 --stats='input(states=%S) output(states=%s, acc-sets=%a, det=%d)'
|
dstar2tgba -D -x sat-minimize,sat-acc=2 --stats='input(states=%S) output(states=%s, acc-sets=%a, det=%d)'
|
||||||
cat stats.csv
|
cat stats.csv
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
#+RESULTS:
|
#+RESULTS:
|
||||||
: input(states=11) output(states=5, acc-sets=2, det=1)
|
: input(states=11) output(states=5, acc-sets=2, det=1)
|
||||||
: 9,8,35,64,44064,9043076,978,26,277,21
|
: 9,9,36,72,44064,9043076,616,18,258,24
|
||||||
: 7,7,33,56,14504,2191905,237,7,113,4
|
: 8,7,29,56,19712,3493822,236,9,135,6
|
||||||
: 6,6,28,48,10512,1358243,145,4,45,2
|
: 6,6,25,48,10512,1362749,97,4,42,2
|
||||||
: 5,,,,7200,782342,82,3,31,2
|
: 5,,,,7200,784142,65,2,40,2
|
||||||
|
|
||||||
The generated CSV file use the following columns:
|
The generated CSV file use the following columns:
|
||||||
- the n passed to the SAT-based minimization algorithm
|
- the n passed to the SAT-based minimization algorithm
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue