* src/tgbaalgos/magic.cc: rewrite to externalize the heap and
prepare it to a bit state hashing version. * src/tgbaalgos/magic.hh: adapt to the new interface of magic_search and se05_search. * src/tgbaalgos/se05.cc: new file. * src/tgbaalgos/Makefile.am: Add it. * src/tgbatest/ltl2tgba.cc: Add new emptiness check. * src/tgbatest/emptchk.test: more tests. * src/tgbatest/dfs.test: new file. * src/tgbatest/Makefile.am: Add it.
This commit is contained in:
parent
908b6129f4
commit
f52082bcfb
9 changed files with 1226 additions and 254 deletions
170
src/tgbatest/dfs.test
Executable file
170
src/tgbatest/dfs.test
Executable file
|
|
@ -0,0 +1,170 @@
|
|||
#!/bin/sh
|
||||
# Copyright (C) 2003, 2004 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.
|
||||
#
|
||||
# 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
|
||||
|
||||
cat >blue_counter <<'EOF'
|
||||
acc = a;
|
||||
s1, s2,, a;
|
||||
s2, s3,,;
|
||||
s3, s1,,;
|
||||
s3, s4,,;
|
||||
s4, s4,,;
|
||||
s4, s5,,;
|
||||
s4, s6,,;
|
||||
s4, s7,,;
|
||||
s4, s8,,;
|
||||
s4, s9,,;
|
||||
s5, s4,,;
|
||||
s5, s5,,;
|
||||
s5, s6,,;
|
||||
s5, s7,,;
|
||||
s5, s8,,;
|
||||
s5, s9,,;
|
||||
s6, s4,,;
|
||||
s6, s5,,;
|
||||
s6, s6,,;
|
||||
s6, s7,,;
|
||||
s6, s8,,;
|
||||
s6, s9,,;
|
||||
s7, s4,,;
|
||||
s7, s5,,;
|
||||
s7, s6,,;
|
||||
s7, s7,,;
|
||||
s7, s8,,;
|
||||
s7, s9,,;
|
||||
s8, s4,,;
|
||||
s8, s5,,;
|
||||
s8, s6,,;
|
||||
s8, s7,,;
|
||||
s8, s8,,;
|
||||
s8, s9,,;
|
||||
s9, s4,,;
|
||||
s9, s5,,;
|
||||
s9, s6,,;
|
||||
s9, s7,,;
|
||||
s9, s8,,;
|
||||
s9, s9,,;
|
||||
EOF
|
||||
|
||||
run 0 ./ltl2tgba -emagic_search -X blue_counter
|
||||
run 0 ./ltl2tgba -ese05_search -X blue_counter
|
||||
|
||||
cat >blue_last <<'EOF'
|
||||
acc = a;
|
||||
s1, s2,,;
|
||||
s2, s3,,;
|
||||
s3, s1,, a;
|
||||
s3, s4,,;
|
||||
s4, s4,,;
|
||||
s4, s5,,;
|
||||
s4, s6,,;
|
||||
s4, s7,,;
|
||||
s4, s8,,;
|
||||
s4, s9,,;
|
||||
s5, s4,,;
|
||||
s5, s5,,;
|
||||
s5, s6,,;
|
||||
s5, s7,,;
|
||||
s5, s8,,;
|
||||
s5, s9,,;
|
||||
s6, s4,,;
|
||||
s6, s5,,;
|
||||
s6, s6,,;
|
||||
s6, s7,,;
|
||||
s6, s8,,;
|
||||
s6, s9,,;
|
||||
s7, s4,,;
|
||||
s7, s5,,;
|
||||
s7, s6,,;
|
||||
s7, s7,,;
|
||||
s7, s8,,;
|
||||
s7, s9,,;
|
||||
s8, s4,,;
|
||||
s8, s5,,;
|
||||
s8, s6,,;
|
||||
s8, s7,,;
|
||||
s8, s8,,;
|
||||
s8, s9,,;
|
||||
s9, s4,,;
|
||||
s9, s5,,;
|
||||
s9, s6,,;
|
||||
s9, s7,,;
|
||||
s9, s8,,;
|
||||
s9, s9,,;
|
||||
EOF
|
||||
|
||||
run 0 ./ltl2tgba -emagic_search -X blue_last
|
||||
run 0 ./ltl2tgba -ese05_search -X blue_last
|
||||
|
||||
cat >red <<'EOF'
|
||||
acc = a;
|
||||
s1, s2,,;
|
||||
s1, s3,, a;
|
||||
s2, s3,,;
|
||||
s3, s1,,;
|
||||
s3, s4,,;
|
||||
s4, s4,,;
|
||||
s4, s5,,;
|
||||
s4, s6,,;
|
||||
s4, s7,,;
|
||||
s4, s8,,;
|
||||
s4, s9,,;
|
||||
s5, s4,,;
|
||||
s5, s5,,;
|
||||
s5, s6,,;
|
||||
s5, s7,,;
|
||||
s5, s8,,;
|
||||
s5, s9,,;
|
||||
s6, s4,,;
|
||||
s6, s5,,;
|
||||
s6, s6,,;
|
||||
s6, s7,,;
|
||||
s6, s8,,;
|
||||
s6, s9,,;
|
||||
s7, s4,,;
|
||||
s7, s5,,;
|
||||
s7, s6,,;
|
||||
s7, s7,,;
|
||||
s7, s8,,;
|
||||
s7, s9,,;
|
||||
s8, s4,,;
|
||||
s8, s5,,;
|
||||
s8, s6,,;
|
||||
s8, s7,,;
|
||||
s8, s8,,;
|
||||
s8, s9,,;
|
||||
s9, s4,,;
|
||||
s9, s5,,;
|
||||
s9, s6,,;
|
||||
s9, s7,,;
|
||||
s9, s8,,;
|
||||
s9, s9,,;
|
||||
EOF
|
||||
|
||||
run 0 ./ltl2tgba -emagic_search -X red
|
||||
run 0 ./ltl2tgba -ese05_search -X red
|
||||
|
||||
rm -f red blue_counter blue_last
|
||||
Loading…
Add table
Add a link
Reference in a new issue