Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Spot
Spot
Commits
fd16383e
Commit
fd16383e
authored
Jul 17, 2015
by
Alexandre Duret-Lutz
Browse files
org: simplify the calls to ltl2dstar
* doc/org/dstar2tgba.org, doc/org/satmin.org: Here.
parent
750d352f
Changes
2
Hide whitespace changes
Inline
Side-by-side
doc/org/dstar2tgba.org
View file @
fd16383e
...
...
@@ -25,7 +25,7 @@ Additionally we use =ltlfilt= to convert our formula to the
prefix format used by =ltl2dstar=.
#+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
By looking at the file =fagfb= you can see the =ltl2dsar= actually
...
...
@@ -350,7 +350,7 @@ head -n 10 |
while read f; do
echo "$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'
done
#+END_SRC
...
...
doc/org/satmin.org
View file @
fd16383e
...
...
@@ -683,16 +683,16 @@ its iterations in this file.
rm -f stats.csv
export SPOT_SATLOG=stats.csv
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)'
cat stats.csv
#+END_SRC
#+RESULTS:
: input(states=11) output(states=5, acc-sets=2, det=1)
: 9,
8
,3
5,64
,44064,9043076,
978,26,277
,2
1
:
7
,7,
33
,56,1
4504,2191905,237,7,113,4
: 6,6,2
8
,48,10512,13
58243,145
,4,4
5
,2
: 5,,,,7200,78
23
42,
82,3,31
,2
: 9,
9
,3
6,72
,44064,9043076,
616,18,258
,2
4
:
8
,7,
29
,56,1
9712,3493822,236,9,135,6
: 6,6,2
5
,48,10512,13
62749,97
,4,4
2
,2
: 5,,,,7200,78
41
42,
65,2,40
,2
The generated CSV file use the following columns:
- the n passed to the SAT-based minimization algorithm
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment