* src/tgbatest/ltl2tgba.cc (main): Degeneralize before

the simulations.
This commit is contained in:
Alexandre Duret-Lutz 2004-06-25 11:33:48 +00:00
parent e9fd27e892
commit 0f79043b2a
2 changed files with 10 additions and 7 deletions

View file

@ -1,3 +1,8 @@
2004-06-25 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/tgbatest/ltl2tgba.cc (main): Degeneralize before
the simulations.
2004-06-23 Alexandre Duret-Lutz <adl@src.lip6.fr> 2004-06-23 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/ltlvisit/tostring.cc (is_bare_word): New function. * src/ltlvisit/tostring.cc (is_bare_word): New function.

View file

@ -393,6 +393,10 @@ main(int argc, char** argv)
to_free = a = concrete = spot::ltl_to_tgba_lacim(f, dict); to_free = a = concrete = spot::ltl_to_tgba_lacim(f, dict);
} }
spot::tgba_tba_proxy* degeneralized = 0;
if (degeneralize_opt)
a = degeneralized = new spot::tgba_tba_proxy(a);
spot::tgba_reduc* aut_red = 0; spot::tgba_reduc* aut_red = 0;
if (reduc_aut != spot::Reduce_None) if (reduc_aut != spot::Reduce_None)
{ {
@ -422,14 +426,8 @@ main(int argc, char** argv)
} }
if (reduc_aut & spot::Reduce_Scc) if (reduc_aut & spot::Reduce_Scc)
{
aut_red->prune_scc(); aut_red->prune_scc();
} }
}
spot::tgba_tba_proxy* degeneralized = 0;
if (degeneralize_opt)
a = degeneralized = new spot::tgba_tba_proxy(a);
spot::tgba_explicit* expl = 0; spot::tgba_explicit* expl = 0;
switch (dupexp) switch (dupexp)