update to ltl3ba 1.1.1
Compared to 1.1.0, -L/-M have been renamed to -M0,-M1. * bench/ltl2tgba/tools, bench/spin13/README, bench/spin13/run.sh, doc/org/ltlcross.org, wrap/python/ajax/spot.in: Adjust all references.
This commit is contained in:
parent
d9045d131c
commit
25af8e7eff
5 changed files with 30 additions and 25 deletions
|
|
@ -27,10 +27,10 @@ set dummy
|
||||||
# Add third-party tools if they are available.
|
# Add third-party tools if they are available.
|
||||||
test -n "$SPIN" && set "$@" "{spin} $SPIN -f %s >%N"
|
test -n "$SPIN" && set "$@" "{spin} $SPIN -f %s >%N"
|
||||||
test -n "$LTL2BA" && set "$@" "{ltl2ba} $LTL2BA -f %s >%N"
|
test -n "$LTL2BA" && set "$@" "{ltl2ba} $LTL2BA -f %s >%N"
|
||||||
test -n "$LTL3BA" && set "$@" "{ltl3ba-LS0} $LTL3BA -L -S0 -f %s >%N" \
|
test -n "$LTL3BA" && set "$@" "{ltl3ba-M0S0} $LTL3BA -M0 -S0 -f %s >%N" \
|
||||||
"{ltl3ba-MS0} $LTL3BA -M -S0 -f %s >%N" \
|
"{ltl3ba-M1S0} $LTL3BA -M1 -S0 -f %s >%N" \
|
||||||
"{ltl3ba-LS2} $LTL3BA -L -S2 -f %s >%N" \
|
"{ltl3ba-M0S2} $LTL3BA -M0 -S2 -f %s >%N" \
|
||||||
"{ltl3ba-MS2} $LTL3BA -M -S2 -f %s >%N"
|
"{ltl3ba-M1S2} $LTL3BA -M1 -S2 -f %s >%N"
|
||||||
|
|
||||||
# Use -s to output a neverclaim, like the other tools.
|
# Use -s to output a neverclaim, like the other tools.
|
||||||
set "$@" \
|
set "$@" \
|
||||||
|
|
|
||||||
|
|
@ -19,9 +19,9 @@ exactly the same versions (yes, that's a plural), please head over to
|
||||||
Keep in mind that as Spot is evolving, the results from this benchmark
|
Keep in mind that as Spot is evolving, the results from this benchmark
|
||||||
may evolve (hopefully for the best!) with time.
|
may evolve (hopefully for the best!) with time.
|
||||||
|
|
||||||
The benchmark has been updated to use ltl3ba 1.1.0 released on
|
The benchmark has been updated to use ltl3ba 1.1.1 released on
|
||||||
2014-01-23 (because the set of optimizations that are now activated
|
2014-01-24 (because the set of optimizations that are now activated by
|
||||||
by default is different).
|
default is different).
|
||||||
|
|
||||||
Running instructions
|
Running instructions
|
||||||
====================
|
====================
|
||||||
|
|
|
||||||
|
|
@ -69,8 +69,8 @@ if test $# = 2; then
|
||||||
# Deter
|
# Deter
|
||||||
|
|
||||||
$ba && set "$@" \
|
$ba && set "$@" \
|
||||||
": LTL3BA NoSim NoSusp Deter; ltl3ba -S0 -A -M -f %s >%N" \
|
": LTL3BA NoSim NoSusp Deter; ltl3ba -S0 -A -M1 -f %s >%N" \
|
||||||
": LTL3BA Sim NoSusp Deter; ltl3ba -S2 -A -M -f %s >%N" \
|
": LTL3BA Sim NoSusp Deter; ltl3ba -S2 -A -M1 -f %s >%N" \
|
||||||
": Cou99 '(Ad)' Deter; $ltl2tgba $opt $nosim --deter -x !degen-reset,!degen-lcache %f"
|
": Cou99 '(Ad)' Deter; $ltl2tgba $opt $nosim --deter -x !degen-reset,!degen-lcache %f"
|
||||||
set "$@" \
|
set "$@" \
|
||||||
": Cou99 '(A${D})' Deter; $ltl2tgba $opt $nosim --deter %f"
|
": Cou99 '(A${D})' Deter; $ltl2tgba $opt $nosim --deter %f"
|
||||||
|
|
@ -81,8 +81,8 @@ if test $# = 2; then
|
||||||
": Cou99 '(AS${DB})' Deter; $ltl2tgba $opt --deter %f"
|
": Cou99 '(AS${DB})' Deter; $ltl2tgba $opt --deter %f"
|
||||||
$ba && set "$@" \
|
$ba && set "$@" \
|
||||||
": Cou99 '(ASdB)' Deter; $ltl2tgba $opt --deter -x !degen-reset,!degen-lcache %f" \
|
": Cou99 '(ASdB)' Deter; $ltl2tgba $opt --deter -x !degen-reset,!degen-lcache %f" \
|
||||||
": LTL3BA NoSim Susp Deter; ltl3ba -S0 -M -f %s >%N" \
|
": LTL3BA NoSim Susp Deter; ltl3ba -S0 -M1 -f %s >%N" \
|
||||||
": LTL3BA Sim Susp Deter; ltl3ba -S2 -M -f %s >%N"
|
": LTL3BA Sim Susp Deter; ltl3ba -S2 -M1 -f %s >%N"
|
||||||
set "$@" \
|
set "$@" \
|
||||||
": Comp '(A${D})' Deter; $ltl2tgba -x comp-susp,!skel-simul $opt $nosim --deter %f" \
|
": Comp '(A${D})' Deter; $ltl2tgba -x comp-susp,!skel-simul $opt $nosim --deter %f" \
|
||||||
": Comp '(A${D})' Deter Early; $ltl2tgba -x comp-susp,!skel-simul,early-susp $opt $nosim --deter %f"
|
": Comp '(A${D})' Deter Early; $ltl2tgba -x comp-susp,!skel-simul,early-susp $opt $nosim --deter %f"
|
||||||
|
|
@ -96,8 +96,8 @@ if test $# = 2; then
|
||||||
# Small
|
# Small
|
||||||
|
|
||||||
$ba && set "$@" \
|
$ba && set "$@" \
|
||||||
": LTL3BA NoSim NoSusp; ltl3ba -S0 -L -A -f %s >%N" \
|
": LTL3BA NoSim NoSusp; ltl3ba -S0 -M0 -A -f %s >%N" \
|
||||||
": LTL3BA Sim NoSusp; ltl3ba -S2 -L -A -f %s >%N" \
|
": LTL3BA Sim NoSusp; ltl3ba -S2 -M0 -A -f %s >%N" \
|
||||||
": Cou99 '(Ad)' Small; $ltl2tgba $opt $nosim --small -x !degen-reset,!degen-lcache %f"
|
": Cou99 '(Ad)' Small; $ltl2tgba $opt $nosim --small -x !degen-reset,!degen-lcache %f"
|
||||||
set "$@" \
|
set "$@" \
|
||||||
": Cou99 '(A${D})' Small; $ltl2tgba $opt $nosim --small %f"
|
": Cou99 '(A${D})' Small; $ltl2tgba $opt $nosim --small %f"
|
||||||
|
|
@ -108,8 +108,8 @@ if test $# = 2; then
|
||||||
": Cou99 '(AS${DB})' Small; $ltl2tgba $opt --small %f"
|
": Cou99 '(AS${DB})' Small; $ltl2tgba $opt --small %f"
|
||||||
$ba && set "$@" \
|
$ba && set "$@" \
|
||||||
": Cou99 '(ASdB)' Small; $ltl2tgba $opt --small -x !degen-reset,!degen-lcache %f" \
|
": Cou99 '(ASdB)' Small; $ltl2tgba $opt --small -x !degen-reset,!degen-lcache %f" \
|
||||||
": LTL3BA NoSim Susp; ltl3ba -S0 -L -f %s >%N" \
|
": LTL3BA NoSim Susp; ltl3ba -S0 -M0 -f %s >%N" \
|
||||||
": LTL3BA Sim Susp; ltl3ba -S2 -L -f %s >%N"
|
": LTL3BA Sim Susp; ltl3ba -S2 -M0 -f %s >%N"
|
||||||
set "$@" \
|
set "$@" \
|
||||||
": Comp '(A${D})' Small; $ltl2tgba -x comp-susp,!skel-wdba,!skel-simul $opt $nosim --small %f" \
|
": Comp '(A${D})' Small; $ltl2tgba -x comp-susp,!skel-wdba,!skel-simul $opt $nosim --small %f" \
|
||||||
": Comp '(A${D})' Small Early; $ltl2tgba -x comp-susp,!skel-wdba,!skel-simul,early-susp $opt $nosim --small %f"
|
": Comp '(A${D})' Small Early; $ltl2tgba -x comp-susp,!skel-wdba,!skel-simul,early-susp $opt $nosim --small %f"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
#+TITLE: =ltlcross=
|
#+TITLE: =ltlcross=
|
||||||
#+SETUPFILE: setup.org
|
#+SETUPFILE: setup.org
|
||||||
#+HTML_LINK_UP: tools.html
|
#+HTML_LINK_UP: tools.html
|
||||||
|
|
@ -125,8 +126,8 @@ tools:
|
||||||
|
|
||||||
- '=spin -f %s >%N='
|
- '=spin -f %s >%N='
|
||||||
- '=ltl2ba -f %s >%N='
|
- '=ltl2ba -f %s >%N='
|
||||||
- '=ltl3ba -S -f %s >%N='
|
- '=ltl3ba -M0 -f %s >%N=' (less deterministic output, can be smaller)
|
||||||
- '=ltl3ba -S -M -f %s >%N=' (more deterministic output)
|
- '=ltl3ba -M1 -f %s >%N=' (more deterministic output)
|
||||||
- '=modella -r12 -g -e %L %T='
|
- '=modella -r12 -g -e %L %T='
|
||||||
- '=/path/to/script4lbtt.py %L %T=' (script supplied by [[http://www.ti.informatik.uni-kiel.de/~fritz/][ltl2nba]] for
|
- '=/path/to/script4lbtt.py %L %T=' (script supplied by [[http://www.ti.informatik.uni-kiel.de/~fritz/][ltl2nba]] for
|
||||||
its interface with LBTT)
|
its interface with LBTT)
|
||||||
|
|
|
||||||
|
|
@ -364,11 +364,15 @@ if output_type == 'v':
|
||||||
if output_type == 'v3':
|
if output_type == 'v3':
|
||||||
import subprocess
|
import subprocess
|
||||||
try:
|
try:
|
||||||
# -L is new in 1.1.0, and older versions will complain about it.
|
l3proc = subprocess.Popen(['@LTL3BA@', '-v'], stdout=subprocess.PIPE)
|
||||||
l3proc = subprocess.Popen(['@LTL3BA@', '-L', '-v'],
|
|
||||||
stdout=subprocess.PIPE)
|
|
||||||
(ver, err) = l3proc.communicate()
|
(ver, err) = l3proc.communicate()
|
||||||
err = l3proc.returncode
|
# -M[0|1] is new in 1.1.1, and we use it.
|
||||||
|
l3proc = subprocess.Popen(['@LTL3BA@', '-h'], stdout=subprocess.PIPE)
|
||||||
|
(out, err) = l3proc.communicate()
|
||||||
|
if out.find('-M[') < 0:
|
||||||
|
err = 1
|
||||||
|
else:
|
||||||
|
err = 0
|
||||||
except:
|
except:
|
||||||
err = 1
|
err = 1
|
||||||
if err != 0:
|
if err != 0:
|
||||||
|
|
@ -542,8 +546,8 @@ elif translator == 'ta':
|
||||||
elif translator == 'l3':
|
elif translator == 'l3':
|
||||||
l3out = '-T'
|
l3out = '-T'
|
||||||
# 1.0.1 had determinization and simulation turned off by default,
|
# 1.0.1 had determinization and simulation turned off by default,
|
||||||
# we need -L and -S0 with 1.1.0 for the same effect
|
# we need -M0 and -S0 with 1.1.1 for the same effect
|
||||||
l3opt = { '-l', '-P', '-A', '-c', '-C', '-o', '-p', '-L', '-S0' }
|
l3opt = { '-l', '-P', '-A', '-c', '-C', '-o', '-p', '-M0', '-S0' }
|
||||||
for lo in form.getfirst('lo', 'T'):
|
for lo in form.getfirst('lo', 'T'):
|
||||||
if lo == 'U':
|
if lo == 'U':
|
||||||
l3out = '-T3' # was -U in ltl3ba 1.0.1, now -T3 since 1.1.0
|
l3out = '-T3' # was -U in ltl3ba 1.0.1, now -T3 since 1.1.0
|
||||||
|
|
@ -559,8 +563,8 @@ elif translator == 'l3':
|
||||||
l3opt.remove('-C')
|
l3opt.remove('-C')
|
||||||
l3opt.remove('-c')
|
l3opt.remove('-c')
|
||||||
elif l3 == 'M':
|
elif l3 == 'M':
|
||||||
l3opt.remove('-L')
|
l3opt.remove('-M0')
|
||||||
l3opt.add('-M')
|
l3opt.add('-M1')
|
||||||
elif l3 == 'S':
|
elif l3 == 'S':
|
||||||
l3opt.remove('-S0')
|
l3opt.remove('-S0')
|
||||||
l3opt.add('-S2') # was -S in 1.0.1
|
l3opt.add('-S2') # was -S in 1.0.1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue