tl: rename ltl_simplifier to tl_simplifier

* doc/org/tut01.org, doc/tl/tl.tex, src/bin/common_r.hh,
src/bin/ltlfilt.cc, src/tests/equalsf.cc, src/tests/ikwiad.cc,
src/tests/randtgba.cc, src/tests/reduc.cc, src/tests/syntimpl.cc,
src/tl/nenoform.cc, src/tl/randomltl.cc, src/tl/randomltl.hh,
src/tl/simplify.cc, src/tl/simplify.hh, src/twaalgos/ltl2tgba_fm.cc,
src/twaalgos/ltl2tgba_fm.hh, src/twaalgos/stutter.cc,
src/twaalgos/translate.cc, src/twaalgos/translate.hh,
wrap/python/ajax/spotcgi.in, wrap/python/spot.py,
wrap/python/tests/interdep.py: Rename ltl_simplifier to tl_simplifier.
* NEWS: Mention it.
This commit is contained in:
Alexandre Duret-Lutz 2015-10-18 13:33:35 +02:00
parent 21be883cf6
commit 176c9e2e17
23 changed files with 119 additions and 117 deletions

View file

@ -128,12 +128,12 @@ main(int argc, char** argv)
f1.dump(std::cout) << std::endl;
#endif
#ifdef REDUC
spot::ltl_simplifier_options opt(true, true, true,
spot::tl_simplifier_options opt(true, true, true,
false, false);
# ifdef EVENT_UNIV
opt.favor_event_univ = true;
# endif
spot::ltl_simplifier simp(opt);
spot::tl_simplifier simp(opt);
{
spot::formula tmp;
tmp = f1;
@ -150,9 +150,9 @@ main(int argc, char** argv)
f1.dump(std::cout) << std::endl;
#endif
#ifdef REDUC_TAU
spot::ltl_simplifier_options opt(false, false, false,
spot::tl_simplifier_options opt(false, false, false,
true, false);
spot::ltl_simplifier simp(opt);
spot::tl_simplifier simp(opt);
{
spot::formula tmp;
tmp = f1;
@ -169,9 +169,9 @@ main(int argc, char** argv)
f1.dump(std::cout) << std::endl;
#endif
#ifdef REDUC_TAUSTR
spot::ltl_simplifier_options opt(false, false, false,
spot::tl_simplifier_options opt(false, false, false,
true, true);
spot::ltl_simplifier simp(opt);
spot::tl_simplifier simp(opt);
{
spot::formula tmp;
tmp = f1;
@ -191,7 +191,7 @@ main(int argc, char** argv)
exit_code |= f1 != f2;
#if (!defined(REDUC) && !defined(REDUC_TAU) && !defined(REDUC_TAUSTR))
spot::ltl_simplifier simp;
spot::tl_simplifier simp;
#endif
if (!simp.are_equivalent(f1, f2))

View file

@ -326,7 +326,7 @@ checked_main(int argc, char** argv)
bool nra2nba = false;
bool scc_filter = false;
bool simpltl = false;
spot::ltl_simplifier_options redopt(false, false, false, false,
spot::tl_simplifier_options redopt(false, false, false, false,
false, false, false);
bool simpcache_stats = false;
bool scc_filter_all = false;
@ -944,9 +944,9 @@ checked_main(int argc, char** argv)
}
else
{
spot::ltl_simplifier* simp = nullptr;
spot::tl_simplifier* simp = nullptr;
if (simpltl)
simp = new spot::ltl_simplifier(redopt, dict);
simp = new spot::tl_simplifier(redopt, dict);
if (simp)
{

View file

@ -488,7 +488,7 @@ print_ar_stats(ar_stats_type& ar_stats, const std::string& s)
static spot::formula
generate_formula(const spot::random_ltl& rl,
spot::ltl_simplifier& simp,
spot::tl_simplifier& simp,
int opt_f, int opt_s,
int opt_l = 0, bool opt_u = false)
{
@ -580,8 +580,8 @@ main(int argc, char** argv)
spot::atomic_prop_set* ap = new spot::atomic_prop_set;
auto dict = spot::make_bdd_dict();
spot::ltl_simplifier_options simpopt(true, true, true, true, true);
spot::ltl_simplifier simp(simpopt);
spot::tl_simplifier_options simpopt(true, true, true, true, true);
spot::tl_simplifier simp(simpopt);
if (argc <= 1)
syntax(argv[0]);

View file

@ -45,7 +45,7 @@ main(int argc, char** argv)
bool hidereduc = false;
unsigned long sum_before = 0;
unsigned long sum_after = 0;
spot::ltl_simplifier_options o(false, false, false, false, false);
spot::tl_simplifier_options o(false, false, false, false, false);
if (argc < 3)
syntax(argv[0]);
@ -147,9 +147,9 @@ main(int argc, char** argv)
int exit_code = 0;
{
spot::ltl_simplifier* simp = new spot::ltl_simplifier(o);
spot::tl_simplifier* simp = new spot::tl_simplifier(o);
o.reduce_size_strictly = true;
spot::ltl_simplifier* simp_size = new spot::ltl_simplifier(o);
spot::tl_simplifier* simp_size = new spot::tl_simplifier(o);
spot::formula f1 = nullptr;
spot::formula f2 = nullptr;

View file

@ -63,7 +63,7 @@ main(int argc, char** argv)
std::string f1s = spot::str_psl(f1);
std::string f2s = spot::str_psl(f2);
spot::ltl_simplifier* c = new spot::ltl_simplifier;
spot::tl_simplifier* c = new spot::tl_simplifier;
switch (opt)
{