ltl2tgba.html: Adjust for ltl3ba 1.1.0
ltl3ba 1.1.0 was released today * wrap/python/ajax/spot.in: Use -T3 instead of -U. * wrap/python/ajax/README: Adjust version. * wrap/python/ajax/ltl2tgba.html: Turn on improved determinism of ltl3ba by default. * bench/ltl2tgba/tools, bench/spin13/run.sh: Adjust options. * bench/spin13/README: Mention the update.
This commit is contained in:
parent
ef6d175ace
commit
a4b6faba20
6 changed files with 33 additions and 24 deletions
|
|
@ -9,8 +9,8 @@ In both cases you should ensure that the command `dot', from the
|
|||
GraphViz package, is in the PATH. configure should have picked it up.
|
||||
|
||||
The "ltl3ba" tab will only be enabled if ltl3ba is available (as
|
||||
checked by ./configure) and supports options -v/-U/-T (checked by the
|
||||
CGI script). These option were introduced into ltl3ba version 1.0.2.
|
||||
checked by ./configure) and supports options -v/-T/-T3 (checked by the
|
||||
CGI script). These option were introduced into ltl3ba version 1.1.0.
|
||||
|
||||
|
||||
Standalone usage
|
||||
|
|
|
|||
|
|
@ -642,7 +642,7 @@ an identifier: <span class="formula">aUb</span> is an atomic proposition, unlike
|
|||
SCC simplifications
|
||||
</label><br>
|
||||
<label class="rtip" title="Try to improve the automaton's determinism when building it. This may produce larger automata.">
|
||||
<INPUT type="checkbox" name="l3" value="M">
|
||||
<INPUT type="checkbox" name="l3" value="M" checked>
|
||||
more deterministic output
|
||||
</label><br>
|
||||
<label class="rtip" title="Compute a direct (a.k.a. strong fair) simulation relation to reduce the size of the Büchi automaton.">
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#!@PYTHON@
|
||||
# -*- mode: python; coding: utf-8 -*-
|
||||
# Copyright (C) 2011, 2012, 2013, 2014 Laboratoire de Recherche et
|
||||
# Copyright (C) 2011, 2012, 2013, 2014, 2015 Laboratoire de Recherche et
|
||||
# Développement de l'Epita (LRDE).
|
||||
#
|
||||
# This file is part of Spot, a model checking library.
|
||||
|
|
@ -364,7 +364,9 @@ if output_type == 'v':
|
|||
if output_type == 'v3':
|
||||
import subprocess
|
||||
try:
|
||||
l3proc = subprocess.Popen(['@LTL3BA@', '-v'], stdout=subprocess.PIPE)
|
||||
# -L is new in 1.1.0, and older versions will complain about it.
|
||||
l3proc = subprocess.Popen(['@LTL3BA@', '-L', '-v'],
|
||||
stdout=subprocess.PIPE)
|
||||
(ver, err) = l3proc.communicate()
|
||||
err = l3proc.returncode
|
||||
except:
|
||||
|
|
@ -538,10 +540,12 @@ elif translator == 'ta':
|
|||
automaton = spot.tgba_dupexp_dfs(spot.ltl_to_taa(f, dict, refined_rules))
|
||||
elif translator == 'l3':
|
||||
l3out = '-T'
|
||||
l3opt = { '-l', '-P', '-A', '-c', '-C', '-o', '-p' }
|
||||
# 1.0.1 had determinization and simulation turned off by default,
|
||||
# we need -L and -S0 with 1.1.0 for the same effect
|
||||
l3opt = { '-l', '-P', '-A', '-c', '-C', '-o', '-p', '-L', '-S0' }
|
||||
for lo in form.getfirst('lo', 'T'):
|
||||
if lo == 'U':
|
||||
l3out = '-U'
|
||||
l3out = '-T3' # was -U in ltl3ba 1.0.1, now -T3 since 1.1.0
|
||||
issba = True
|
||||
for l3 in form.getlist('l3'):
|
||||
if l3 == 'l':
|
||||
|
|
@ -554,9 +558,11 @@ elif translator == 'l3':
|
|||
l3opt.remove('-C')
|
||||
l3opt.remove('-c')
|
||||
elif l3 == 'M':
|
||||
l3opt.remove('-L')
|
||||
l3opt.add('-M')
|
||||
elif l3 == 'S':
|
||||
l3opt.add('-S')
|
||||
l3opt.remove('-S0')
|
||||
l3opt.add('-S2') # was -S in 1.0.1
|
||||
elif l3 == 'o':
|
||||
l3opt.remove('-o')
|
||||
elif l3 == 'p':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue