Commit 83565fb6 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

* src/tgbaalgos/ltl2tgba.cc, src/tgbaalgos/ltl2tgba.hh: Rename as ...

* src/tgbaalgos/ltl2tgba_lacim.cc, src/tgbaalgos/ltl2tgba_lacim.hh:
... this, and rename ltl_to_tgba() as ltl_to_tgba_lacim as well.
* iface/gspn/ltlgspn.cc, src/tgbatest/explprod.cc,
src/tgbatest/ltl2tgba.cc, src/tgbatest/ltlmagic.cc,
src/tgbatest/ltlprod.cc, src/tgbatest/mixprod.cc,
src/tgbatest/tripprod.cc, wrap/python/spot.i,
wrap/python/cgi/ltl2tgba.in, wrap/python/tests/interdep.py,
wrap/python/tests/ltl2tgba.py: Adjust.
parent 5439b2f4
2003-09-22 Alexandre Duret-Lutz <aduret@src.lip6.fr>
* src/tgbaalgos/ltl2tgba.cc, src/tgbaalgos/ltl2tgba.hh: Rename as ...
* src/tgbaalgos/ltl2tgba_lacim.cc, src/tgbaalgos/ltl2tgba_lacim.hh:
... this, and rename ltl_to_tgba() as ltl_to_tgba_lacim as well.
* iface/gspn/ltlgspn.cc, src/tgbatest/explprod.cc,
src/tgbatest/ltl2tgba.cc, src/tgbatest/ltlmagic.cc,
src/tgbatest/ltlprod.cc, src/tgbatest/mixprod.cc,
src/tgbatest/tripprod.cc, wrap/python/spot.i,
wrap/python/cgi/ltl2tgba.in, wrap/python/tests/interdep.py,
wrap/python/tests/ltl2tgba.py: Adjust.
2003-09-11 Alexandre Duret-Lutz <aduret@src.lip6.fr>
* src/tgba/state.hh: Include cassert.
......
......@@ -3,7 +3,7 @@
#include "ltlvisit/destroy.hh"
#include "tgba/tgbatba.hh"
#include "tgba/tgbaproduct.hh"
#include "tgbaalgos/ltl2tgba.hh"
#include "tgbaalgos/ltl2tgba_lacim.hh"
#include "tgbaalgos/ltl2tgba_fm.hh"
#include "tgbaalgos/magic.hh"
......@@ -38,7 +38,7 @@ main(int argc, char **argv)
#if FM
spot::tgba* a_f = spot::ltl_to_tgba_fm(f, dict);
#else
spot::tgba* a_f = spot::ltl_to_tgba(f, dict);
spot::tgba* a_f = spot::ltl_to_tgba_lacim(f, dict);
#endif
spot::ltl::destroy(f);
......
......@@ -7,8 +7,8 @@ tgbaalgos_HEADERS = \
reachiter.hh \
dotty.hh \
lbtt.hh \
ltl2tgba.hh \
ltl2tgba_fm.hh \
ltl2tgba_lacim.hh \
magic.hh \
save.hh
......@@ -17,7 +17,7 @@ libtgbaalgos_la_SOURCES = \
reachiter.cc \
dotty.cc \
lbtt.cc \
ltl2tgba.cc \
ltl2tgba_fm.cc \
ltl2tgba_lacim.cc \
magic.cc \
save.cc
......@@ -6,7 +6,7 @@
#include "tgba/tgbabddconcretefactory.hh"
#include <cassert>
#include "ltl2tgba.hh"
#include "ltl2tgba_lacim.hh"
namespace spot
{
......@@ -231,7 +231,7 @@ namespace spot
};
tgba_bdd_concrete*
ltl_to_tgba(const ltl::formula* f, bdd_dict* dict)
ltl_to_tgba_lacim(const ltl::formula* f, bdd_dict* dict)
{
// Normalize the formula. We want all the negations on
// the atomic propositions. We also suppress logic
......
......@@ -24,7 +24,7 @@ namespace spot
/// editor = {Pierre Leroux}
/// }
/// \endverbatim
tgba_bdd_concrete* ltl_to_tgba(const ltl::formula* f, bdd_dict* dict);
tgba_bdd_concrete* ltl_to_tgba_lacim(const ltl::formula* f, bdd_dict* dict);
}
#endif // SPOT_TGBA_LTL2TGBA_HH
#include <iostream>
#include <cassert>
#include "tgbaalgos/ltl2tgba.hh"
#include "tgba/tgbaexplicit.hh"
#include "tgba/tgbaproduct.hh"
#include "tgbaparse/public.hh"
......
......@@ -5,7 +5,7 @@
#include "ltlvisit/destroy.hh"
#include "ltlast/allnodes.hh"
#include "ltlparse/public.hh"
#include "tgbaalgos/ltl2tgba.hh"
#include "tgbaalgos/ltl2tgba_lacim.hh"
#include "tgbaalgos/ltl2tgba_fm.hh"
#include "tgba/bddprint.hh"
#include "tgbaalgos/dotty.hh"
......@@ -139,7 +139,7 @@ main(int argc, char** argv)
if (fm_opt)
to_free = a = spot::ltl_to_tgba_fm(f, dict);
else
to_free = a = concrete = spot::ltl_to_tgba(f, dict);
to_free = a = concrete = spot::ltl_to_tgba_lacim(f, dict);
spot::ltl::destroy(f);
......
......@@ -3,7 +3,7 @@
#include "ltlvisit/destroy.hh"
#include "ltlast/allnodes.hh"
#include "ltlparse/public.hh"
#include "tgbaalgos/ltl2tgba.hh"
#include "tgbaalgos/ltl2tgba_lacim.hh"
#include "tgbaalgos/magic.hh"
void
......@@ -47,7 +47,7 @@ main(int argc, char** argv)
spot::bdd_dict* dict = new spot::bdd_dict();
{
spot::tgba_bdd_concrete* a1 = spot::ltl_to_tgba(f1, dict);
spot::tgba_bdd_concrete* a1 = spot::ltl_to_tgba_lacim(f1, dict);
spot::tgba_tba_proxy* a2 = new spot::tgba_tba_proxy(a1);
spot::ltl::destroy(f1);
......
......@@ -3,7 +3,7 @@
#include "ltlvisit/destroy.hh"
#include "ltlast/allnodes.hh"
#include "ltlparse/public.hh"
#include "tgbaalgos/ltl2tgba.hh"
#include "tgbaalgos/ltl2tgba_lacim.hh"
#include "tgba/tgbaproduct.hh"
#include "tgba/tgbabddconcreteproduct.hh"
#include "tgbaalgos/dotty.hh"
......@@ -39,8 +39,8 @@ main(int argc, char** argv)
spot::bdd_dict* dict = new spot::bdd_dict();
{
spot::tgba_bdd_concrete* a1 = spot::ltl_to_tgba(f1, dict);
spot::tgba_bdd_concrete* a2 = spot::ltl_to_tgba(f2, dict);
spot::tgba_bdd_concrete* a1 = spot::ltl_to_tgba_lacim(f1, dict);
spot::tgba_bdd_concrete* a2 = spot::ltl_to_tgba_lacim(f2, dict);
spot::ltl::destroy(f1);
spot::ltl::destroy(f2);
......
......@@ -3,7 +3,7 @@
#include "ltlvisit/destroy.hh"
#include "ltlast/allnodes.hh"
#include "ltlparse/public.hh"
#include "tgbaalgos/ltl2tgba.hh"
#include "tgbaalgos/ltl2tgba_lacim.hh"
#include "tgba/tgbaproduct.hh"
#include "tgba/tgbabddconcreteproduct.hh"
#include "tgbaparse/public.hh"
......@@ -39,7 +39,7 @@ main(int argc, char** argv)
return 2;
{
spot::tgba_bdd_concrete* a1 = spot::ltl_to_tgba(f1, dict);
spot::tgba_bdd_concrete* a1 = spot::ltl_to_tgba_lacim(f1, dict);
spot::ltl::destroy(f1);
spot::tgba_product p(a1, a2);
spot::tgba_save_reachable(std::cout, &p);
......
#include <iostream>
#include <cassert>
#include "tgbaalgos/ltl2tgba.hh"
#include "tgba/tgbaexplicit.hh"
#include "tgba/tgbaproduct.hh"
#include "tgbaparse/public.hh"
......
......@@ -161,7 +161,7 @@ print '<p>Building automaton...',
sys.stdout.flush()
if trans_lacim:
automaton = spot.ltl_to_tgba(f, dict)
automaton = spot.ltl_to_tgba_lacim(f, dict)
elif trans_fm:
automaton = spot.ltl_to_tgba_fm(f, dict)
......
......@@ -48,7 +48,7 @@
#include "tgba/tgbaproduct.hh"
#include "tgba/tgbatba.hh"
#include "tgbaalgos/ltl2tgba.hh"
#include "tgbaalgos/ltl2tgba_lacim.hh"
#include "tgbaalgos/ltl2tgba_fm.hh"
#include "tgbaalgos/dotty.hh"
#include "tgbaalgos/lbtt.hh"
......@@ -84,7 +84,7 @@ using namespace spot;
%include "ltlvisit/tostring.hh"
%include "ltlvisit/tunabbrev.hh"
%feature("new") spot::ltl_to_tgba;
%feature("new") spot::ltl_to_tgba_lacim;
%feature("new") spot::ltl_to_tgba_fm;
%feature("new") spot::tgba::get_init_state;
%feature("new") spot::tgba::succ_iter;
......@@ -105,7 +105,7 @@ using namespace spot;
%include "tgba/tgbaproduct.hh"
%include "tgba/tgbatba.hh"
%include "tgbaalgos/ltl2tgba.hh"
%include "tgbaalgos/ltl2tgba_lacim.hh"
%include "tgbaalgos/ltl2tgba_fm.hh"
%include "tgbaalgos/dotty.hh"
%include "tgbaalgos/lbtt.hh"
......
......@@ -7,7 +7,7 @@ e = spot.default_environment.instance()
p = spot.empty_parse_error_list()
f = spot.parse('GFa', p, e)
dict = spot.bdd_dict()
a = spot.ltl_to_tgba(f, dict)
a = spot.ltl_to_tgba_lacim(f, dict)
s0 = a.get_init_state()
b = s0.as_bdd()
print b
......
......@@ -77,7 +77,7 @@ if f:
a = spot.ltl_to_tgba_fm(f, dict)
concrete = 0
else:
a = concrete = spot.ltl_to_tgba(f, dict)
a = concrete = spot.ltl_to_tgba_lacim(f, dict)
spot.destroy(f)
del f
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment