The previous code was sometime doing the work of remove_fin() in addition to complementing the acceptance conditions. This separate the two operations clearly. Also the specialized code for complementing weak automata is now a specialized code for remove_fin() on weak automata. * src/twaalgos/dtgbacomp.hh, src/twaalgos/dtgbacomp.cc: Rename as ... * src/twaalgos/complement.hh, src/twaalgos/complement.cc: ... these. * src/twaalgos/Makefile.am: Adjust. * src/twaalgos/complement.hh (dtgba_complement): Rename as ... (dtwa_complement): ... this, and restrict the purpose to completion and accetance complementation. Further acceptance simplification can be done with remove_fin() and to_generalized_buchi(). * src/twaalgos/remfin.cc (remove_fin): Specialize handling of weak automata using the code that was originally in dtgba_complement(). Also mark the output as state-based when the input has to Inf. * src/twaalgos/postproc.cc, src/twaalgos/postproc.hh: Make sure scc_filter is always called after to_generalized_buchi(). * bench/stutter/stutter_invariance_randomgraph.cc, src/bin/ltlcross.cc, src/tests/ikwiad.cc, src/twaalgos/minimize.cc, src/twaalgos/powerset.cc, src/twaalgos/stutter.cc: Adjust usage. * src/tests/dstar.test, src/tests/ltl2dstar4.test, src/tests/remfin.test: Adjust expected outputs. * wrap/python/spot_impl.i: Export dtwa_complement().
145 lines
2.9 KiB
Makefile
145 lines
2.9 KiB
Makefile
## -*- coding: utf-8 -*-
|
|
## Copyright (C) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Laboratoire
|
|
## de Recherche et Développement de l'Epita (LRDE).
|
|
## Copyright (C) 2003, 2004, 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.
|
|
##
|
|
## 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/>.
|
|
|
|
SUBDIRS = gtec
|
|
|
|
AM_CPPFLAGS = -I$(srcdir)/.. -I.. $(BUDDY_CPPFLAGS)
|
|
AM_CXXFLAGS = $(WARNING_CXXFLAGS)
|
|
|
|
twaalgosdir = $(pkgincludedir)/twaalgos
|
|
|
|
twaalgos_HEADERS = \
|
|
are_isomorphic.hh \
|
|
bfssteps.hh \
|
|
canonicalize.hh \
|
|
cleanacc.hh \
|
|
complete.hh \
|
|
complement.hh \
|
|
compsusp.hh \
|
|
copy.hh \
|
|
cycles.hh \
|
|
degen.hh \
|
|
dot.hh \
|
|
dtbasat.hh \
|
|
dtgbasat.hh \
|
|
emptiness.hh \
|
|
emptiness_stats.hh \
|
|
gv04.hh \
|
|
hoa.hh \
|
|
isdet.hh \
|
|
isunamb.hh \
|
|
isweakscc.hh \
|
|
lbtt.hh \
|
|
ltl2taa.hh \
|
|
ltl2tgba_fm.hh \
|
|
magic.hh \
|
|
mask.hh \
|
|
minimize.hh \
|
|
neverclaim.hh \
|
|
postproc.hh \
|
|
powerset.hh \
|
|
product.hh \
|
|
projrun.hh \
|
|
randomgraph.hh \
|
|
randomize.hh \
|
|
reachiter.hh \
|
|
reducerun.hh \
|
|
relabel.hh \
|
|
remfin.hh \
|
|
remprop.hh \
|
|
replayrun.hh \
|
|
safety.hh \
|
|
sbacc.hh \
|
|
sccfilter.hh \
|
|
sccinfo.hh \
|
|
se05.hh \
|
|
sepsets.hh \
|
|
simulation.hh \
|
|
stats.hh \
|
|
stripacc.hh \
|
|
stutter.hh \
|
|
tau03.hh \
|
|
tau03opt.hh \
|
|
totgba.hh \
|
|
translate.hh \
|
|
word.hh
|
|
|
|
noinst_LTLIBRARIES = libtwaalgos.la
|
|
libtwaalgos_la_SOURCES = \
|
|
are_isomorphic.cc \
|
|
bfssteps.cc \
|
|
canonicalize.cc \
|
|
cleanacc.cc \
|
|
complete.cc \
|
|
complement.cc \
|
|
compsusp.cc \
|
|
copy.cc \
|
|
cycles.cc \
|
|
degen.cc \
|
|
dot.cc \
|
|
dtbasat.cc \
|
|
dtgbasat.cc \
|
|
emptiness.cc \
|
|
gv04.cc \
|
|
hoa.cc \
|
|
isdet.cc \
|
|
isunamb.cc \
|
|
isweakscc.cc \
|
|
lbtt.cc \
|
|
ltl2taa.cc \
|
|
ltl2tgba_fm.cc \
|
|
magic.cc \
|
|
mask.cc \
|
|
minimize.cc \
|
|
ndfs_result.hxx \
|
|
neverclaim.cc \
|
|
postproc.cc \
|
|
powerset.cc \
|
|
product.cc \
|
|
projrun.cc \
|
|
randomgraph.cc \
|
|
randomize.cc \
|
|
reachiter.cc \
|
|
reducerun.cc \
|
|
remfin.cc \
|
|
remprop.cc \
|
|
replayrun.cc \
|
|
relabel.cc \
|
|
safety.cc \
|
|
sbacc.cc \
|
|
sccinfo.cc \
|
|
sccfilter.cc \
|
|
se05.cc \
|
|
sepsets.cc \
|
|
simulation.cc \
|
|
stats.cc \
|
|
stripacc.cc \
|
|
stutter.cc \
|
|
tau03.cc \
|
|
tau03opt.cc \
|
|
totgba.cc \
|
|
translate.cc \
|
|
weight.cc \
|
|
weight.hh \
|
|
word.cc
|
|
|
|
libtwaalgos_la_LIBADD = gtec/libgtec.la
|