merge ltlvisit/ ltlast/ ltlenv/ into a single tl/ directory

The ltl prefix does not make a lot of sens anymore (since we
support psl as well).  ltlast/ and ltlenv/ were almost empty.
And ltlvisit/ did not contain any visitor anymore.

* src/ltlvisit/, src/ltlast/, src/ltlenv/: Merge into...
* src/tl/: ...this.
* NEWS: Mention the change.
* README, bench/stutter/stutter_invariance_formulas.cc,
bench/stutter/stutter_invariance_randomgraph.cc, configure.ac,
doc/org/tut01.org, doc/org/tut02.org, doc/org/tut10.org, doc/tl/tl.tex,
iface/ltsmin/ltsmin.hh, iface/ltsmin/modelcheck.cc, src/Makefile.am,
src/bin/autfilt.cc, src/bin/common_output.cc, src/bin/common_output.hh,
src/bin/common_r.hh, src/bin/common_trans.cc, src/bin/genltl.cc,
src/bin/ltl2tgba.cc, src/bin/ltl2tgta.cc, src/bin/ltlcross.cc,
src/bin/ltldo.cc, src/bin/ltlfilt.cc, src/bin/ltlgrind.cc,
src/bin/randltl.cc, src/kripke/kripkeexplicit.hh,
src/kripkeparse/public.hh, src/parseaut/public.hh, src/priv/accmap.hh,
src/ta/taexplicit.hh, src/ta/tgtaexplicit.hh, src/tests/equalsf.cc,
src/tests/ikwiad.cc, src/tests/length.cc, src/tests/ltlrel.cc,
src/tests/randtgba.cc, src/tests/readltl.cc, src/tests/reduc.cc,
src/tests/syntimpl.cc, src/tests/taatgba.cc, src/tests/tostring.cc,
src/tests/twagraph.cc, src/twa/acc.hh, src/twa/bdddict.cc,
src/twa/bdddict.hh, src/twa/bddprint.cc, src/twa/taatgba.cc,
src/twa/taatgba.hh, src/twa/twa.hh, src/twa/twagraph.cc,
src/twa/twagraph.hh, src/twa/twasafracomplement.cc,
src/twaalgos/compsusp.cc, src/twaalgos/compsusp.hh,
src/twaalgos/dtgbasat.cc, src/twaalgos/hoa.cc,
src/twaalgos/isweakscc.cc, src/twaalgos/lbtt.cc,
src/twaalgos/ltl2taa.cc, src/twaalgos/ltl2taa.hh,
src/twaalgos/ltl2tgba_fm.cc, src/twaalgos/ltl2tgba_fm.hh,
src/twaalgos/minimize.hh, src/twaalgos/neverclaim.cc,
src/twaalgos/randomgraph.hh, src/twaalgos/relabel.hh,
src/twaalgos/remprop.hh, src/twaalgos/stats.cc, src/twaalgos/stutter.cc,
src/twaalgos/translate.hh, wrap/python/spot_impl.i,
src/ltlparse/ltlparse.yy, src/ltlparse/public.hh: Adjust.
This commit is contained in:
Alexandre Duret-Lutz 2015-09-28 15:15:55 +02:00
parent 3e10dba978
commit 6ded5e75c4
119 changed files with 269 additions and 343 deletions

5
NEWS
View file

@ -41,6 +41,11 @@ New in spot 1.99.3a (not yet released)
more friendly, and several algorithms that spanned a few pages more friendly, and several algorithms that spanned a few pages
have been reduced to a few lines. have been reduced to a few lines.
* The source directories ltlast/, ltlenv/, and ltlvisit/, have been
merged into a single tl/ directory (for temporal logic). This is
motivated by the fact that these formulas are not restricted to
LTL, and by the fact that we no longuer use the "visitor" pattern.
New in spot 1.99.3 (2015-08-26) New in spot 1.99.3 (2015-08-26)
* The CGI script for LTL translation offers a HOA download link * The CGI script for LTL translation offers a HOA download link

4
README
View file

@ -140,10 +140,8 @@ src/ Sources for libspot.
graph/ Graph representations. graph/ Graph representations.
kripke/ Kripke Structure interface. kripke/ Kripke Structure interface.
kripkeparse/ Parser for explicit Kripke. kripkeparse/ Parser for explicit Kripke.
ltlast/ LTL abstract syntax tree (including nodes for ELTL). tl/ Temporal Logic formulas and algorithms.
ltlenv/ LTL environments.
ltlparse/ Parser for LTL formulae. ltlparse/ Parser for LTL formulae.
ltlvisit/ Visitors of LTL formulae.
misc/ Miscellaneous support files. misc/ Miscellaneous support files.
parseaut/ Parser for automata in multiple formats. parseaut/ Parser for automata in multiple formats.
priv/ Private algorithms, used internally but not exported. priv/ Private algorithms, used internally but not exported.

View file

@ -25,8 +25,7 @@
#include "twaalgos/stutter.hh" #include "twaalgos/stutter.hh"
#include "twaalgos/dupexp.hh" #include "twaalgos/dupexp.hh"
#include "twaalgos/stats.hh" #include "twaalgos/stats.hh"
#include "ltlvisit/apcollect.hh" #include "tl/apcollect.hh"
#include "ltlvisit/length.hh"
#include "misc/timer.hh" #include "misc/timer.hh"
#include <argp.h> #include <argp.h>

View file

@ -18,7 +18,7 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "misc/timer.hh" #include "misc/timer.hh"
#include "ltlvisit/apcollect.hh" #include "tl/apcollect.hh"
#include "twaalgos/dtgbacomp.hh" #include "twaalgos/dtgbacomp.hh"
#include "twaalgos/randomgraph.hh" #include "twaalgos/randomgraph.hh"
#include "twaalgos/dot.hh" #include "twaalgos/dot.hh"

View file

@ -200,28 +200,26 @@ AC_CONFIG_FILES([
lib/Makefile lib/Makefile
src/bin/Makefile src/bin/Makefile
src/bin/man/Makefile src/bin/man/Makefile
src/kripke/Makefile
src/graph/Makefile src/graph/Makefile
src/parseaut/Makefile src/kripke/Makefile
src/ltlast/Makefile
src/ltlenv/Makefile
src/ltlparse/Makefile
src/kripkeparse/Makefile src/kripkeparse/Makefile
src/ltlvisit/Makefile src/ltlparse/Makefile
src/Makefile src/Makefile
src/misc/Makefile src/misc/Makefile
src/parseaut/Makefile
src/priv/Makefile src/priv/Makefile
src/sanity/Makefile src/sanity/Makefile
src/twaalgos/gtec/Makefile
src/twaalgos/Makefile
src/twa/Makefile
src/taalgos/Makefile src/taalgos/Makefile
src/ta/Makefile src/ta/Makefile
src/tests/defs src/tests/defs
src/tests/Makefile src/tests/Makefile
src/tl/Makefile
src/twaalgos/gtec/Makefile
src/twaalgos/Makefile
src/twa/Makefile
wrap/Makefile wrap/Makefile
wrap/python/Makefile
wrap/python/ajax/Makefile wrap/python/ajax/Makefile
wrap/python/Makefile
wrap/python/tests/Makefile wrap/python/tests/Makefile
tools/x-to-1 tools/x-to-1
]) ])

View file

@ -67,7 +67,7 @@ exceptions.
#+BEGIN_SRC C++ :results verbatim :exports both #+BEGIN_SRC C++ :results verbatim :exports both
#include <iostream> #include <iostream>
#include "ltlparse/public.hh" #include "ltlparse/public.hh"
#include "ltlvisit/print.hh" #include "tl/print.hh"
int main() int main()
{ {
@ -105,7 +105,7 @@ Here is how to call the infix parser explicitly,:
#include <string> #include <string>
#include <iostream> #include <iostream>
#include "ltlparse/public.hh" #include "ltlparse/public.hh"
#include "ltlvisit/print.hh" #include "tl/print.hh"
int main() int main()
{ {
@ -147,7 +147,7 @@ with the "fixed" formula if you wish. Here is an example:
#include <string> #include <string>
#include <iostream> #include <iostream>
#include "ltlparse/public.hh" #include "ltlparse/public.hh"
#include "ltlvisit/print.hh" #include "tl/print.hh"
int main() int main()
{ {
@ -189,7 +189,7 @@ of =parse_infix_psl()=.
#include <string> #include <string>
#include <iostream> #include <iostream>
#include "ltlparse/public.hh" #include "ltlparse/public.hh"
#include "ltlvisit/print.hh" #include "tl/print.hh"
int main() int main()
{ {
@ -231,7 +231,7 @@ For instance, let's see what happens if a PSL formulas is passed to
#include <string> #include <string>
#include <iostream> #include <iostream>
#include "ltlparse/public.hh" #include "ltlparse/public.hh"
#include "ltlvisit/print.hh" #include "tl/print.hh"
int main() int main()
{ {
@ -261,7 +261,7 @@ The first is to simply diagnose non-LTL formulas.
#include <string> #include <string>
#include <iostream> #include <iostream>
#include "ltlparse/public.hh" #include "ltlparse/public.hh"
#include "ltlvisit/print.hh" #include "tl/print.hh"
int main() int main()
{ {
@ -290,8 +290,8 @@ prepared to reject the formula any way. In our example, we are lucky
#include <string> #include <string>
#include <iostream> #include <iostream>
#include "ltlparse/public.hh" #include "ltlparse/public.hh"
#include "ltlvisit/print.hh" #include "tl/print.hh"
#include "ltlvisit/simplify.hh" #include "tl/simplify.hh"
int main() int main()
{ {

View file

@ -81,8 +81,8 @@ destructor.
#include <string> #include <string>
#include <iostream> #include <iostream>
#include "ltlparse/public.hh" #include "ltlparse/public.hh"
#include "ltlvisit/print.hh" #include "tl/print.hh"
#include "ltlvisit/relabel.hh" #include "tl/relabel.hh"
int main() int main()
{ {

View file

@ -130,7 +130,7 @@ never claim is done via the =print_never_claim= function.
#include <string> #include <string>
#include <iostream> #include <iostream>
#include "ltlparse/public.hh" #include "ltlparse/public.hh"
#include "ltlvisit/print.hh" #include "tl/print.hh"
#include "twaalgos/translate.hh" #include "twaalgos/translate.hh"
#include "twaalgos/neverclaim.hh" #include "twaalgos/neverclaim.hh"

View file

@ -1287,7 +1287,7 @@ you plan to abbreviate many formulas sharing identical subformulas.
The LTL rewritings described in the next three sections are all The LTL rewritings described in the next three sections are all
implemented in the `\verb|ltl_simplifier|' class defined in implemented in the `\verb|ltl_simplifier|' class defined in
\texttt{spot/ltlvisit/simplify.hh}. This class implements several \texttt{spot/tl/simplify.hh}. This class implements several
caches in order to quickly rewrite formulas that have already been caches in order to quickly rewrite formulas that have already been
rewritten previously. For this reason, it is suggested that you reuse rewritten previously. For this reason, it is suggested that you reuse
your instance of `\verb|ltl_simplifier|' as much as possible. If you your instance of `\verb|ltl_simplifier|' as much as possible. If you

View file

@ -20,7 +20,7 @@
#pragma once #pragma once
#include "kripke/kripke.hh" #include "kripke/kripke.hh"
#include "ltlvisit/apcollect.hh" #include "tl/apcollect.hh"
namespace spot namespace spot
{ {

View file

@ -19,7 +19,7 @@
#include "ltsmin.hh" #include "ltsmin.hh"
#include "twaalgos/dot.hh" #include "twaalgos/dot.hh"
#include "ltlenv/defaultenv.hh" #include "tl/defaultenv.hh"
#include "ltlparse/public.hh" #include "ltlparse/public.hh"
#include "twaalgos/translate.hh" #include "twaalgos/translate.hh"
#include "twaalgos/emptiness.hh" #include "twaalgos/emptiness.hh"

View file

@ -25,25 +25,22 @@ AUTOMAKE_OPTIONS = subdir-objects
# List directories in the order they must be built. Keep tests at the # List directories in the order they must be built. Keep tests at the
# end, after building '.' (since the current directory contains # end, after building '.' (since the current directory contains
# libspot.la needed by the tests) # libspot.la needed by the tests)
SUBDIRS = misc priv ltlenv ltlast ltlvisit ltlparse graph twa \ SUBDIRS = misc priv tl ltlparse graph twa twaalgos ta taalgos kripke \
twaalgos ta taalgos kripke kripkeparse parseaut . bin tests \ kripkeparse parseaut . bin tests sanity
sanity
lib_LTLIBRARIES = libspot.la lib_LTLIBRARIES = libspot.la
libspot_la_SOURCES = libspot_la_SOURCES =
libspot_la_LDFLAGS = $(BUDDY_LDFLAGS) -no-undefined libspot_la_LDFLAGS = $(BUDDY_LDFLAGS) -no-undefined
libspot_la_LIBADD = \ libspot_la_LIBADD = \
parseaut/libparseaut.la \
kripke/libkripke.la \ kripke/libkripke.la \
kripkeparse/libkripkeparse.la \ kripkeparse/libkripkeparse.la \
ltlast/libltlast.la \
ltlenv/libltlenv.la \
ltlparse/libltlparse.la \ ltlparse/libltlparse.la \
ltlvisit/libltlvisit.la \
misc/libmisc.la \ misc/libmisc.la \
parseaut/libparseaut.la \
priv/libpriv.la \ priv/libpriv.la \
taalgos/libtaalgos.la \ taalgos/libtaalgos.la \
ta/libta.la \ ta/libta.la \
tl/libtl.la \
twaalgos/libtwaalgos.la \ twaalgos/libtwaalgos.la \
twa/libtwa.la \ twa/libtwa.la \
../lib/libgnu.la ../lib/libgnu.la

View file

@ -44,7 +44,7 @@
#include "misc/timer.hh" #include "misc/timer.hh"
#include "misc/random.hh" #include "misc/random.hh"
#include "parseaut/public.hh" #include "parseaut/public.hh"
#include "ltlvisit/exclusive.hh" #include "tl/exclusive.hh"
#include "twaalgos/remprop.hh" #include "twaalgos/remprop.hh"
#include "twaalgos/randomize.hh" #include "twaalgos/randomize.hh"
#include "twaalgos/are_isomorphic.hh" #include "twaalgos/are_isomorphic.hh"

View file

@ -21,7 +21,7 @@
#include "common_output.hh" #include "common_output.hh"
#include <iostream> #include <iostream>
#include <sstream> #include <sstream>
#include "ltlvisit/print.hh" #include "tl/print.hh"
#include "misc/formater.hh" #include "misc/formater.hh"
#include "misc/escape.hh" #include "misc/escape.hh"
#include "common_cout.hh" #include "common_cout.hh"

View file

@ -24,7 +24,7 @@
#include <argp.h> #include <argp.h>
#include <map> #include <map>
#include <memory> #include <memory>
#include "ltlast/formula.hh" #include "tl/formula.hh"
#include "twaalgos/stats.hh" #include "twaalgos/stats.hh"
#include "common_output.hh" #include "common_output.hh"
#include "common_file.hh" #include "common_file.hh"

View file

@ -20,7 +20,7 @@
#pragma once #pragma once
#include "common_sys.hh" #include "common_sys.hh"
#include "ltlvisit/simplify.hh" #include "tl/simplify.hh"
#define OPT_R 'r' #define OPT_R 'r'

View file

@ -28,7 +28,7 @@
#include "error.h" #include "error.h"
#include "ltlvisit/print.hh" #include "tl/print.hh"
#include "common_conv.hh" #include "common_conv.hh"
// A set of tools for which we know the correct output // A set of tools for which we know the correct output

View file

@ -86,8 +86,8 @@
#include <string> #include <string>
#include <cstdlib> #include <cstdlib>
#include <cstring> #include <cstring>
#include "ltlast/formula.hh" #include "tl/formula.hh"
#include "ltlvisit/relabel.hh" #include "tl/relabel.hh"
using namespace spot; using namespace spot;
using namespace spot::ltl; using namespace spot::ltl;

View file

@ -33,8 +33,8 @@
#include "common_aoutput.hh" #include "common_aoutput.hh"
#include "common_post.hh" #include "common_post.hh"
#include "ltlast/formula.hh" #include "tl/formula.hh"
#include "ltlvisit/print.hh" #include "tl/print.hh"
#include "twaalgos/translate.hh" #include "twaalgos/translate.hh"
#include "misc/optionmap.hh" #include "misc/optionmap.hh"
#include "misc/timer.hh" #include "misc/timer.hh"

View file

@ -33,8 +33,8 @@
#include "common_post.hh" #include "common_post.hh"
#include "ltlparse/public.hh" #include "ltlparse/public.hh"
#include "ltlvisit/print.hh" #include "tl/print.hh"
#include "ltlvisit/simplify.hh" #include "tl/simplify.hh"
#include "twaalgos/dot.hh" #include "twaalgos/dot.hh"
#include "twaalgos/ltl2tgba_fm.hh" #include "twaalgos/ltl2tgba_fm.hh"
#include "twaalgos/translate.hh" #include "twaalgos/translate.hh"

View file

@ -39,10 +39,10 @@
#include "common_file.hh" #include "common_file.hh"
#include "common_finput.hh" #include "common_finput.hh"
#include "parseaut/public.hh" #include "parseaut/public.hh"
#include "ltlvisit/print.hh" #include "tl/print.hh"
#include "ltlvisit/apcollect.hh" #include "tl/apcollect.hh"
#include "ltlvisit/mutation.hh" #include "tl/mutation.hh"
#include "ltlvisit/relabel.hh" #include "tl/relabel.hh"
#include "twaalgos/lbtt.hh" #include "twaalgos/lbtt.hh"
#include "twaalgos/hoa.hh" #include "twaalgos/hoa.hh"
#include "twaalgos/product.hh" #include "twaalgos/product.hh"

View file

@ -35,7 +35,7 @@
#include "common_post.hh" #include "common_post.hh"
#include "common_trans.hh" #include "common_trans.hh"
#include "ltlvisit/relabel.hh" #include "tl/relabel.hh"
#include "misc/bareword.hh" #include "misc/bareword.hh"
#include "misc/timer.hh" #include "misc/timer.hh"
#include "twaalgos/lbtt.hh" #include "twaalgos/lbtt.hh"

View file

@ -35,14 +35,14 @@
#include "common_r.hh" #include "common_r.hh"
#include "misc/hash.hh" #include "misc/hash.hh"
#include "ltlvisit/simplify.hh" #include "tl/simplify.hh"
#include "ltlvisit/length.hh" #include "tl/length.hh"
#include "ltlvisit/relabel.hh" #include "tl/relabel.hh"
#include "ltlvisit/unabbrev.hh" #include "tl/unabbrev.hh"
#include "ltlvisit/remove_x.hh" #include "tl/remove_x.hh"
#include "ltlvisit/apcollect.hh" #include "tl/apcollect.hh"
#include "ltlvisit/exclusive.hh" #include "tl/exclusive.hh"
#include "ltlvisit/print.hh" #include "tl/print.hh"
#include "twaalgos/ltl2tgba_fm.hh" #include "twaalgos/ltl2tgba_fm.hh"
#include "twaalgos/minimize.hh" #include "twaalgos/minimize.hh"
#include "twaalgos/safety.hh" #include "twaalgos/safety.hh"

View file

@ -27,7 +27,7 @@
#include "common_output.hh" #include "common_output.hh"
#include "common_conv.hh" #include "common_conv.hh"
#include "ltlvisit/mutation.hh" #include "tl/mutation.hh"
enum { enum {
OPT_AP2CONST = 1, OPT_AP2CONST = 1,

View file

@ -33,8 +33,8 @@
#include "common_conv.hh" #include "common_conv.hh"
#include <sstream> #include <sstream>
#include "ltlvisit/randomltl.hh" #include "tl/randomltl.hh"
#include "ltlvisit/simplify.hh" #include "tl/simplify.hh"
#include "misc/random.hh" #include "misc/random.hh"
#include "misc/optionmap.hh" #include "misc/optionmap.hh"

View file

@ -21,7 +21,7 @@
#include <iosfwd> #include <iosfwd>
#include "kripke.hh" #include "kripke.hh"
#include "ltlast/formula.hh" #include "tl/formula.hh"
#include "kripkeprint.hh" #include "kripkeprint.hh"
namespace spot namespace spot

View file

@ -21,7 +21,7 @@
#include "kripke/kripkeexplicit.hh" #include "kripke/kripkeexplicit.hh"
#include "misc/location.hh" #include "misc/location.hh"
#include "ltlenv/defaultenv.hh" #include "tl/defaultenv.hh"
#include <string> #include <string>
#include <list> #include <list>
#include <utility> #include <utility>

View file

@ -1,32 +0,0 @@
## -*- coding: utf-8 -*-
## Copyright (C) 2009, 2010, 2011, 2013, 2014, 2015 Laboratoire de
## Recherche et Développement de l'Epita (LRDE).
## Copyright (C) 2003 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 3 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 this program. If not, see <http://www.gnu.org/licenses/>.
AM_CPPFLAGS = -I$(srcdir)/.. -I.. \
-I$(top_builddir)/lib -I$(top_srcdir)/lib
AM_CXXFLAGS = $(WARNING_CXXFLAGS)
ltlastdir = $(pkgincludedir)/ltlast
ltlast_HEADERS = formula.hh
noinst_LTLIBRARIES = libltlast.la
libltlast_la_SOURCES = formula.cc

View file

@ -1,7 +0,0 @@
.deps
Makefile
Makefile.in
libltlenv.a
*.lo
*.la
.libs

View file

@ -1,36 +0,0 @@
## -*- coding: utf-8 -*-
## Copyright (C) 2013 Laboratoire de Recherche et Développement de
## l'Epita (LRDE).
## 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 3 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 this program. If not, see <http://www.gnu.org/licenses/>.
AM_CPPFLAGS = -I$(srcdir)/..
AM_CXXFLAGS = $(WARNING_CXXFLAGS)
ltlenvdir = $(pkgincludedir)/ltlenv
ltlenv_HEADERS = \
declenv.hh \
defaultenv.hh \
environment.hh
noinst_LTLIBRARIES = libltlenv.la
libltlenv_la_SOURCES = \
declenv.cc \
defaultenv.cc

View file

@ -35,8 +35,8 @@
#include <string> #include <string>
#include <sstream> #include <sstream>
#include "public.hh" #include "public.hh"
#include "ltlast/formula.hh" #include "tl/formula.hh"
#include "ltlvisit/print.hh" #include "tl/print.hh"
struct minmax_t { unsigned min, max; }; struct minmax_t { unsigned min, max; };
} }

View file

@ -22,9 +22,9 @@
#pragma once #pragma once
#include "ltlast/formula.hh" #include "tl/formula.hh"
#include "misc/location.hh" #include "misc/location.hh"
#include "ltlenv/defaultenv.hh" #include "tl/defaultenv.hh"
#include <string> #include <string>
#include <list> #include <list>
#include <utility> #include <utility>

View file

@ -1,6 +0,0 @@
.deps
Makefile
Makefile.in
*.lo
*.la
.libs

View file

@ -1,63 +0,0 @@
## -*- coding: utf-8 -*-
## Copyright (C) 2010, 2011, 2012, 2013, 2014, 2015 Laboratoire de
## Recherche et Developpement de l'Epita (LRDE).
## Copyright (C) 2004, 2005, 2006 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 3 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 this program. If not, see <http://www.gnu.org/licenses/>.
AM_CPPFLAGS = -I$(srcdir)/.. -I.. $(BUDDY_CPPFLAGS)
AM_CXXFLAGS = $(WARNING_CXXFLAGS)
ltlvisitdir = $(pkgincludedir)/ltlvisit
ltlvisit_HEADERS = \
apcollect.hh \
contain.hh \
dot.hh \
exclusive.hh \
length.hh \
mutation.hh \
nenoform.hh \
print.hh \
randomltl.hh \
relabel.hh \
remove_x.hh \
simpfg.hh \
simplify.hh \
snf.hh \
unabbrev.hh
noinst_LTLIBRARIES = libltlvisit.la
libltlvisit_la_SOURCES = \
apcollect.cc \
contain.cc \
dot.cc \
exclusive.cc \
length.cc \
mark.cc \
mark.hh \
mutation.cc \
nenoform.cc \
print.cc \
randomltl.cc \
relabel.cc \
remove_x.cc \
simpfg.cc \
simplify.cc \
snf.cc \
unabbrev.cc

View file

@ -21,7 +21,7 @@
#include "twa/twagraph.hh" #include "twa/twagraph.hh"
#include "misc/location.hh" #include "misc/location.hh"
#include "ltlenv/defaultenv.hh" #include "tl/defaultenv.hh"
#include <string> #include <string>
#include <list> #include <list>
#include <utility> #include <utility>

View file

@ -21,7 +21,7 @@
#include <bddx.h> #include <bddx.h>
#include "misc/hash.hh" #include "misc/hash.hh"
#include "ltlast/formula.hh" #include "tl/formula.hh"
#include "twa/twagraph.hh" #include "twa/twagraph.hh"
namespace spot namespace spot

View file

@ -23,7 +23,7 @@
#include <list> #include <list>
#include "twa/twa.hh" #include "twa/twa.hh"
#include <set> #include <set>
#include "ltlast/formula.hh" #include "tl/formula.hh"
#include <cassert> #include <cassert>
#include "misc/bddlt.hh" #include "misc/bddlt.hh"
#include "ta.hh" #include "ta.hh"

View file

@ -23,7 +23,7 @@
#include <list> #include <list>
#include "twa/twa.hh" #include "twa/twa.hh"
#include <set> #include <set>
#include "ltlast/formula.hh" #include "tl/formula.hh"
#include <cassert> #include <cassert>
#include "misc/bddlt.hh" #include "misc/bddlt.hh"
#include "taexplicit.hh" #include "taexplicit.hh"

View file

@ -27,10 +27,10 @@
#include <cstdlib> #include <cstdlib>
#include <cstring> #include <cstring>
#include "ltlparse/public.hh" #include "ltlparse/public.hh"
#include "ltlvisit/unabbrev.hh" #include "tl/unabbrev.hh"
#include "ltlvisit/nenoform.hh" #include "tl/nenoform.hh"
#include "ltlvisit/simplify.hh" #include "tl/simplify.hh"
#include "ltlvisit/print.hh" #include "tl/print.hh"
void void
syntax(char* prog) syntax(char* prog)

View file

@ -26,9 +26,9 @@
#include <fstream> #include <fstream>
#include <string> #include <string>
#include <cstdlib> #include <cstdlib>
#include "ltlvisit/print.hh" #include "tl/print.hh"
#include "ltlvisit/apcollect.hh" #include "tl/apcollect.hh"
#include "ltlast/formula.hh" #include "tl/formula.hh"
#include "ltlparse/public.hh" #include "ltlparse/public.hh"
#include "twaalgos/ltl2tgba_fm.hh" #include "twaalgos/ltl2tgba_fm.hh"
#include "twaalgos/ltl2taa.hh" #include "twaalgos/ltl2taa.hh"

View file

@ -22,7 +22,7 @@
#include <cstdlib> #include <cstdlib>
#include <cstring> #include <cstring>
#include "ltlparse/public.hh" #include "ltlparse/public.hh"
#include "ltlvisit/length.hh" #include "tl/length.hh"
void void
syntax(char *prog) syntax(char *prog)

View file

@ -21,8 +21,8 @@
#include <cassert> #include <cassert>
#include <cstdlib> #include <cstdlib>
#include "ltlparse/public.hh" #include "ltlparse/public.hh"
#include "ltlvisit/relabel.hh" #include "tl/relabel.hh"
#include "ltlvisit/print.hh" #include "tl/print.hh"
void void
syntax(char *prog) syntax(char *prog)

View file

@ -31,15 +31,15 @@
#include <set> #include <set>
#include <vector> #include <vector>
#include "ltlparse/public.hh" #include "ltlparse/public.hh"
#include "ltlvisit/apcollect.hh" #include "tl/apcollect.hh"
#include "ltlvisit/randomltl.hh" #include "tl/randomltl.hh"
#include "ltlvisit/print.hh" #include "tl/print.hh"
#include "ltlvisit/length.hh" #include "tl/length.hh"
#include "ltlvisit/simplify.hh" #include "tl/simplify.hh"
#include "twaalgos/randomgraph.hh" #include "twaalgos/randomgraph.hh"
#include "twaalgos/hoa.hh" #include "twaalgos/hoa.hh"
#include "twaalgos/stats.hh" #include "twaalgos/stats.hh"
#include "ltlenv/defaultenv.hh" #include "tl/defaultenv.hh"
#include "twaalgos/dot.hh" #include "twaalgos/dot.hh"
#include "misc/random.hh" #include "misc/random.hh"
#include "misc/optionmap.hh" #include "misc/optionmap.hh"

View file

@ -25,7 +25,7 @@
#include <cstdlib> #include <cstdlib>
#include <cstring> #include <cstring>
#include "ltlparse/public.hh" #include "ltlparse/public.hh"
#include "ltlvisit/dot.hh" #include "tl/dot.hh"
void void
syntax(char* prog) syntax(char* prog)

View file

@ -27,9 +27,9 @@
#include <string> #include <string>
#include <cstring> #include <cstring>
#include "ltlparse/public.hh" #include "ltlparse/public.hh"
#include "ltlvisit/print.hh" #include "tl/print.hh"
#include "ltlvisit/simplify.hh" #include "tl/simplify.hh"
#include "ltlvisit/length.hh" #include "tl/length.hh"
void void
syntax(char* prog) syntax(char* prog)

View file

@ -24,9 +24,9 @@
#include <cassert> #include <cassert>
#include <cstdlib> #include <cstdlib>
#include "ltlparse/public.hh" #include "ltlparse/public.hh"
#include "ltlvisit/print.hh" #include "tl/print.hh"
#include "ltlvisit/simplify.hh" #include "tl/simplify.hh"
#include "ltlvisit/nenoform.hh" #include "tl/nenoform.hh"
void void
syntax(char* prog) syntax(char* prog)

View file

@ -20,7 +20,7 @@
#include <iostream> #include <iostream>
#include <cassert> #include <cassert>
#include "misc/hash.hh" #include "misc/hash.hh"
#include "ltlenv/defaultenv.hh" #include "tl/defaultenv.hh"
#include "twaalgos/dot.hh" #include "twaalgos/dot.hh"
#include "twa/taatgba.hh" #include "twa/taatgba.hh"

View file

@ -24,7 +24,7 @@
#include <cassert> #include <cassert>
#include <cstdlib> #include <cstdlib>
#include "ltlparse/public.hh" #include "ltlparse/public.hh"
#include "ltlvisit/print.hh" #include "tl/print.hh"
void void
syntax(char *prog) syntax(char *prog)

View file

@ -21,7 +21,7 @@
#include <iostream> #include <iostream>
#include "twa/twagraph.hh" #include "twa/twagraph.hh"
#include "twaalgos/dot.hh" #include "twaalgos/dot.hh"
#include "ltlenv/defaultenv.hh" #include "tl/defaultenv.hh"
void f1() void f1()
{ {

View file

@ -1,6 +1,7 @@
.deps .deps
Makefile Makefile
Makefile.in Makefile.in
libtl.a
*.lo *.lo
*.la *.la
.libs .libs

67
src/tl/Makefile.am Normal file
View file

@ -0,0 +1,67 @@
## -*- coding: utf-8 -*-
## Copyright (C) 2015 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 3 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 this program. If not, see <http://www.gnu.org/licenses/>.
AM_CPPFLAGS = -I$(srcdir)/.. -I.. $(BUDDY_CPPFLAGS)
AM_CXXFLAGS = $(WARNING_CXXFLAGS)
tldir = $(pkgincludedir)/tl
tl_HEADERS = \
apcollect.hh \
contain.hh \
declenv.hh \
defaultenv.hh \
dot.hh \
environment.hh \
exclusive.hh \
formula.hh \
length.hh \
mutation.hh \
nenoform.hh \
print.hh \
randomltl.hh \
relabel.hh \
remove_x.hh \
simpfg.hh \
simplify.hh \
snf.hh \
unabbrev.hh
noinst_LTLIBRARIES = libtl.la
libtl_la_SOURCES = \
apcollect.cc \
contain.cc \
declenv.cc \
defaultenv.cc \
dot.cc \
exclusive.cc \
formula.cc \
length.cc \
mark.cc \
mark.hh \
mutation.cc \
nenoform.cc \
print.cc \
randomltl.cc \
relabel.cc \
remove_x.cc \
simpfg.cc \
simplify.cc \
snf.cc \
unabbrev.cc

View file

@ -22,7 +22,7 @@
#pragma once #pragma once
#include "ltlast/formula.hh" #include "formula.hh"
#include <set> #include <set>
#include <bddx.h> #include <bddx.h>
#include "twa/fwd.hh" #include "twa/fwd.hh"

View file

@ -22,7 +22,7 @@
#include "contain.hh" #include "contain.hh"
#include "simplify.hh" #include "simplify.hh"
#include "ltlast/formula.hh" #include "formula.hh"
#include "twaalgos/product.hh" #include "twaalgos/product.hh"
namespace spot namespace spot

View file

@ -22,7 +22,7 @@
#pragma once #pragma once
#include "ltlast/formula.hh" #include "formula.hh"
#include "twaalgos/ltl2tgba_fm.hh" #include "twaalgos/ltl2tgba_fm.hh"
#include "misc/hash.hh" #include "misc/hash.hh"
#include <map> #include <map>

View file

@ -25,7 +25,7 @@
#include "environment.hh" #include "environment.hh"
#include <string> #include <string>
#include <map> #include <map>
#include "ltlast/formula.hh" #include "formula.hh"
namespace spot namespace spot
{ {

View file

@ -23,7 +23,7 @@
#pragma once #pragma once
#include "environment.hh" #include "environment.hh"
#include "ltlast/formula.hh" #include "formula.hh"
namespace spot namespace spot
{ {

View file

@ -21,7 +21,7 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "dot.hh" #include "dot.hh"
#include "ltlast/formula.hh" #include "formula.hh"
#include <unordered_map> #include <unordered_map>
#include <ostream> #include <ostream>
#include <sstream> #include <sstream>

View file

@ -22,7 +22,7 @@
#pragma once #pragma once
#include <ltlast/formula.hh> #include "formula.hh"
namespace spot namespace spot
{ {

View file

@ -22,7 +22,7 @@
#pragma once #pragma once
#include "ltlast/formula.hh" #include "formula.hh"
#include <string> #include <string>
namespace spot namespace spot

View file

@ -20,7 +20,7 @@
#pragma once #pragma once
#include <vector> #include <vector>
#include "ltlast/formula.hh" #include "formula.hh"
#include "twa/twagraph.hh" #include "twa/twagraph.hh"
namespace spot namespace spot

View file

@ -28,6 +28,11 @@
#include <algorithm> #include <algorithm>
#include "misc/bareword.hh" #include "misc/bareword.hh"
#ifndef HAVE_STRVERSCMP
// If the libc does not have this, a version is compiled in lib/.
extern "C" int strverscmp(const char *s1, const char *s2);
#endif
namespace spot namespace spot
{ {
namespace namespace

View file

@ -17,7 +17,7 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
/// \file ltlast/formula.hh /// \file tlformula.hh
/// \brief LTL/PSL formula interface /// \brief LTL/PSL formula interface
#pragma once #pragma once

View file

@ -21,7 +21,7 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "length.hh" #include "length.hh"
#include "ltlast/formula.hh" #include "formula.hh"
namespace spot namespace spot
{ {

View file

@ -22,7 +22,7 @@
#pragma once #pragma once
#include "ltlast/formula.hh" #include "formula.hh"
namespace spot namespace spot
{ {

View file

@ -19,7 +19,7 @@
#pragma once #pragma once
#include "ltlast/formula.hh" #include "formula.hh"
#include "misc/hash.hh" #include "misc/hash.hh"
namespace spot namespace spot

View file

@ -20,9 +20,9 @@
#include <set> #include <set>
#include <algorithm> #include <algorithm>
#include "ltlvisit/apcollect.hh" #include "apcollect.hh"
#include "ltlvisit/mutation.hh" #include "mutation.hh"
#include "ltlvisit/length.hh" #include "length.hh"
#define And_(x, y) formula::And({(x), (y)}) #define And_(x, y) formula::And({(x), (y)})
#define AndRat_(x, y) formula::AndRat({(x), (y)}) #define AndRat_(x, y) formula::AndRat({(x), (y)})

View file

@ -19,7 +19,7 @@
#pragma once #pragma once
#include "ltlast/formula.hh" #include "formula.hh"
#include <vector> #include <vector>
namespace spot namespace spot

View file

@ -22,7 +22,7 @@
#pragma once #pragma once
#include "ltlast/formula.hh" #include "formula.hh"
namespace spot namespace spot
{ {

View file

@ -22,7 +22,7 @@
#pragma once #pragma once
#include <ltlast/formula.hh> #include "formula.hh"
#include <iosfwd> #include <iosfwd>
namespace spot namespace spot

View file

@ -27,7 +27,7 @@
#include <iostream> #include <iostream>
#include <cstring> #include <cstring>
#include "misc/optionmap.hh" #include "misc/optionmap.hh"
#include "ltlenv/defaultenv.hh" #include "defaultenv.hh"
#include <sstream> #include <sstream>
namespace spot namespace spot

View file

@ -19,7 +19,7 @@
#pragma once #pragma once
#include "ltlast/formula.hh" #include "formula.hh"
#include "misc/hash.hh" #include "misc/hash.hh"
#include <map> #include <map>

View file

@ -17,9 +17,9 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "ltlvisit/simplify.hh" #include "simplify.hh"
#include "ltlvisit/apcollect.hh" #include "apcollect.hh"
#include "ltlvisit/remove_x.hh" #include "remove_x.hh"
namespace spot namespace spot
{ {

View file

@ -19,7 +19,7 @@
#pragma once #pragma once
#include "ltlast/formula.hh" #include "formula.hh"
namespace spot namespace spot
{ {

View file

@ -22,7 +22,7 @@
#pragma once #pragma once
#include "ltlast/formula.hh" #include "formula.hh"
namespace spot namespace spot
{ {

View file

@ -27,9 +27,9 @@
#include "simplify.hh" #include "simplify.hh"
#include <unordered_map> #include <unordered_map>
#include "ltlvisit/contain.hh" #include "contain.hh"
#include "ltlvisit/print.hh" #include "print.hh"
#include "ltlvisit/snf.hh" #include "snf.hh"
#include "twa/formula2bdd.hh" #include "twa/formula2bdd.hh"
#include <cassert> #include <cassert>
#include <memory> #include <memory>

View file

@ -19,7 +19,7 @@
#pragma once #pragma once
#include "ltlast/formula.hh" #include "formula.hh"
#include <bddx.h> #include <bddx.h>
#include "twa/bdddict.hh" #include "twa/bdddict.hh"
#include <iosfwd> #include <iosfwd>

View file

@ -19,7 +19,7 @@
#pragma once #pragma once
#include "ltlast/formula.hh" #include "formula.hh"
#include <unordered_map> #include <unordered_map>
namespace spot namespace spot

View file

@ -19,7 +19,7 @@
#pragma once #pragma once
#include "ltlast/formula.hh" #include "formula.hh"
#include <unordered_map> #include <unordered_map>
namespace spot namespace spot

View file

@ -23,7 +23,7 @@
#include <unordered_map> #include <unordered_map>
#include <sstream> #include <sstream>
#include <vector> #include <vector>
#include "ltlenv/defaultenv.hh" #include "tl/defaultenv.hh"
#include <iostream> #include <iostream>
namespace spot namespace spot

View file

@ -23,9 +23,9 @@
#include <ostream> #include <ostream>
#include <sstream> #include <sstream>
#include <cassert> #include <cassert>
#include <ltlvisit/print.hh> #include "tl/print.hh"
#include <ltlast/formula.hh> #include "tl/formula.hh"
#include <ltlenv/defaultenv.hh> #include "tl/defaultenv.hh"
#include "priv/bddalloc.hh" #include "priv/bddalloc.hh"
#include "bdddict.hh" #include "bdddict.hh"

View file

@ -29,7 +29,7 @@
#include <bddx.h> #include <bddx.h>
#include <vector> #include <vector>
#include <memory> #include <memory>
#include "ltlast/formula.hh" #include "tl/formula.hh"
namespace spot namespace spot
{ {

View file

@ -24,7 +24,7 @@
#include <cassert> #include <cassert>
#include <ostream> #include <ostream>
#include "bddprint.hh" #include "bddprint.hh"
#include "ltlvisit/print.hh" #include "tl/print.hh"
#include "formula2bdd.hh" #include "formula2bdd.hh"
#include "misc/minato.hh" #include "misc/minato.hh"

View file

@ -22,7 +22,7 @@
#include <iterator> #include <iterator>
#include <iostream> #include <iostream>
#include "twa/formula2bdd.hh" #include "twa/formula2bdd.hh"
#include "ltlvisit/print.hh" #include "tl/print.hh"
#include "taatgba.hh" #include "taatgba.hh"
namespace spot namespace spot

View file

@ -24,7 +24,7 @@
#include <vector> #include <vector>
#include <string> #include <string>
#include "misc/hash.hh" #include "misc/hash.hh"
#include "ltlast/formula.hh" #include "tl/formula.hh"
#include "bdddict.hh" #include "bdddict.hh"
#include "twa.hh" #include "twa.hh"

View file

@ -33,7 +33,7 @@
#include <vector> #include <vector>
#include "misc/casts.hh" #include "misc/casts.hh"
#include "misc/hash.hh" #include "misc/hash.hh"
#include "ltlast/formula.hh" #include "tl/formula.hh"
namespace spot namespace spot
{ {

View file

@ -18,7 +18,7 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "twagraph.hh" #include "twagraph.hh"
#include "ltlvisit/print.hh" #include "tl/print.hh"
namespace spot namespace spot
{ {

View file

@ -25,7 +25,7 @@
#include "twa/bdddict.hh" #include "twa/bdddict.hh"
#include "twa/twa.hh" #include "twa/twa.hh"
#include "twaalgos/dupexp.hh" #include "twaalgos/dupexp.hh"
#include "ltlast/formula.hh" #include "tl/formula.hh"
#include <sstream> #include <sstream>
namespace spot namespace spot

View file

@ -30,7 +30,7 @@
#include "twa/bdddict.hh" #include "twa/bdddict.hh"
#include "twa/twa.hh" #include "twa/twa.hh"
#include "misc/hashfunc.hh" #include "misc/hashfunc.hh"
#include "ltlast/formula.hh" #include "tl/formula.hh"
#include "twaalgos/dot.hh" #include "twaalgos/dot.hh"
#include "twa/twasafracomplement.hh" #include "twa/twasafracomplement.hh"
#include "twaalgos/degen.hh" #include "twaalgos/degen.hh"

Some files were not shown because too many files have changed in this diff Show more