* src/tgbaalgos/postproc.cc, src/tgbaalgos/postproc.hh: New class to capture the postprocessing logic. * src/tgbaalgos/Makefile.am: Add them. * src/bin/ltl2tgba.cc, src/bin/man/ltl2tgba.x: New files. * src/bin/Makefile.am, src/bin/man/Makefile.am: Add them. * src/tgbatest/spotlbtt.test: Prune the list of configurations slightly. * src/tgbatest/spotlbtt2.test: New file. * src/tgbatest/Makefile.am: Add it. * bench/ltl2tgba/algorithms, bench/ltl2tgba/defs.in: Adjust to use the new binary. * NEWS: Update.
81 lines
1.7 KiB
Bash
Executable file
81 lines
1.7 KiB
Bash
Executable file
#!/bin/sh
|
|
# -*- coding: utf-8 -*-
|
|
# Copyright (C) 2012 Laboratoire de Recherche et
|
|
# Développement de l'Epita (LRDE).
|
|
#
|
|
# This file is part of Spot, a model checking library.
|
|
#
|
|
# Spot is free software; you can redistribute it and/or modify it
|
|
# under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# Spot is distributed in the hope that it will be useful, but WITHOUT
|
|
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
|
|
# License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with Spot; see the file COPYING. If not, write to the Free
|
|
# Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
|
# 02111-1307, USA.
|
|
|
|
|
|
. ./defs
|
|
|
|
set -e
|
|
|
|
rm -f config
|
|
for type in tgba ba; do
|
|
for pref in any deterministic small; do
|
|
for level in low medium high; do
|
|
cat >>config <<EOF
|
|
Algorithm
|
|
{
|
|
Name = "$type $pref $level"
|
|
Path = "${LBTT_TRANSLATE}"
|
|
Parameters = "--spot '../../bin/ltl2tgba --$type --$pref --$level --lbtt -F'"
|
|
Enabled = yes
|
|
}
|
|
EOF
|
|
done
|
|
done
|
|
done
|
|
|
|
cat >>config <<EOF
|
|
GlobalOptions
|
|
{
|
|
Rounds = 100
|
|
Interactive = Never
|
|
# Verbosity = 5
|
|
# ComparisonCheck = no
|
|
# ConsistencyCheck = no
|
|
# IntersectionCheck = no
|
|
}
|
|
|
|
FormulaOptions
|
|
{
|
|
Size = 5...20
|
|
Propositions = 6
|
|
|
|
AbbreviatedOperators = Yes
|
|
GenerateMode = Normal
|
|
OutputMode = Normal
|
|
PropositionPriority = 50
|
|
|
|
TruePriority = 1
|
|
FalsePriority = 1
|
|
|
|
AndPriority = 10
|
|
OrPriority = 10
|
|
XorPriority = 0
|
|
# EquivalencePriority = 0
|
|
|
|
BeforePriority = 0
|
|
|
|
DefaultOperatorPriority = 5
|
|
}
|
|
EOF
|
|
|
|
${LBTT}
|
|
rm config
|