Rewrite the ltl2tgba bench using ltlcross

* bench/ltl2tgba/sum.py: New file.
* bench/ltl2tgba/.gitignore, bench/ltl2tgba/Makefile.am,
bench/ltl2tgba/README, bench/ltl2tgba/algorithms, bench/ltl2tgba/big,
bench/ltl2tgba/defs.in, bench/ltl2tgba/known, bench/ltl2tgba/small:
Rewrite this benchmark completely.  Also drop support of Wring and
Modella, as we cannot get them to work reliably.
* bench/ltl2tgba/formulae.ltl: Rewrite in Spot's syntax.
* bench/ltl2tgba/lbtt2csv.pl, bench/ltl2tgba/ltl2baw.in,
bench/ltl2tgba/parseout.pl: Delete these scripts, no
longer needed.
* configure.ac: Do not output ltl2baw.pl anymore.
This commit is contained in:
Alexandre Duret-Lutz 2013-01-06 18:57:50 +01:00
parent e2f17f65b8
commit 885a535184
14 changed files with 355 additions and 912 deletions

View file

@ -1,10 +1,7 @@
#!/bin/sh
# -*- shell-script -*-
# Copyright (C) 2011 Laboratoire de Recherche et Developpement de
# Copyright (C) 2012, 2013 Laboratoire de Recherche et Developpement de
# l'Epita (LRDE)
# Copyright (C) 2005 Laboratoire d'Informatique de Paris 6 (LIP6),
# département Systèmes Répartis Coopératifs (SRC), Université Pierre
# et Marie Curie.
#
# This file is part of Spot, a model checking library.
#
@ -22,43 +19,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. ./defs
conffile=known.cfg
logfile=known.log
sumfile=known.txt
ltlfile=$srcdir/formulae.ltl
. "$srcdir/algorithms"
cat >>"$conffile" <<EOF
GlobalOptions
{
Rounds = 100
Interactive = Never
# Verbosity = 5
# ComparisonCheck = no
ConsistencyCheck = no
# IntersectionCheck = no
TranslatorTimeout = 15min
}
StateSpaceOptions
{
Size = 200
Propositions = 6
}
FormulaOptions
{
Size = 10
Propositions = 4
AbbreviatedOperators = No
GenerateMode = Normal
OutputMode = NNF
DefaultOperatorPriority = 10
}
EOF
"$LBTT" --configfile="$conffile" --formulafile="$ltlfile" | tee "$logfile"
"$srcdir"/parseout.pl "$logfile" | tee "$sumfile"
$LTLCROSS "$@" --csv=known.csv --json=known.json < formulae.ltl 2>&1 |
tee known.log