* src/ltlvisit/randomltl.cc, src/ltlvisit/randomltl.hh: New files.
* src/ltlvisit/Makefile.am (ltlvisit_HEADERS, libltlvisit_la_SOURCES): Distribute them. * src/ltltest/randltl.cc: New file. * src/ltltest/Makefile.am (LDADD): Link with ../libspot.la directly. (noinst_PROGRAMS, randltl_SOURCES): New. (EXTRA_DIST, CLEANFILES): The list of random formulae is now generated. * src/ltltest/formulae.txt: Delete. * src/ltltest/reduc.test: Use randltl to generate formulae. * src/ltlvisit/length.cc (length_visitor): Fix computation of the length of multops. * src/ltlvisit/length.hh (length): Document the length of multops.
This commit is contained in:
parent
7216701631
commit
e366b081a8
10 changed files with 573 additions and 2214 deletions
|
|
@ -1,5 +1,5 @@
|
|||
#! /bin/sh
|
||||
# Copyright (C) 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
|
||||
# Copyright (C) 2004, 2005 Laboratoire d'Informatique de Paris 6 (LIP6),
|
||||
# département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
||||
# et Marie Curie.
|
||||
#
|
||||
|
|
@ -26,12 +26,17 @@
|
|||
|
||||
set -e
|
||||
|
||||
FICH=${1-$srcdir/formulae.txt}
|
||||
FILE=formulae
|
||||
: > $FILE
|
||||
for i in 10 11 12 13 14 15 16 17 18 19 20; do
|
||||
./randltl -s 0 -f $i a b c -F 100 >> $FILE
|
||||
./randltl -s 100 -f $i a b c d e f -F 100 >> $FILE
|
||||
done
|
||||
|
||||
for opt in 0 1 2 3; do
|
||||
rm -f result.data
|
||||
|
||||
cat $FICH |
|
||||
cat $FILE |
|
||||
while read f; do
|
||||
./reduc $opt "$f" >> result.data
|
||||
done
|
||||
|
|
@ -48,3 +53,4 @@ END { print 100 - ($sum2 * 100 / $sum1); print "\n"; }
|
|||
done
|
||||
|
||||
rm -f result.data
|
||||
rm -f $FILE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue