* src/tgbaalgos/emptiness.cc,

src/tgbaalgos/emptiness.hh (print_tgba_run): Take the tgba*
argument before the tgba_run* argument (for consistency with
replay_tgba_run).
* src/tgbatest/ltl2tgba.cc, iface/gspn/ltlgspn.cc: Adjust
calls to print_tgba_run().
This commit is contained in:
Alexandre Duret-Lutz 2004-11-02 15:25:41 +00:00
parent e5e886a442
commit 0fd665f3a2
5 changed files with 14 additions and 7 deletions

View file

@ -1,5 +1,12 @@
2004-11-02 Alexandre Duret-Lutz <adl@src.lip6.fr> 2004-11-02 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/tgbaalgos/emptiness.cc,
src/tgbaalgos/emptiness.hh (print_tgba_run): Take the tgba*
argument before the tgba_run* argument (for consistency with
replay_tgba_run).
* src/tgbatest/ltl2tgba.cc, iface/gspn/ltlgspn.cc: Adjust
calls to print_tgba_run().
* src/ltlast/formula.hh (ltl::formula::~formula): Make it protected. * src/ltlast/formula.hh (ltl::formula::~formula): Make it protected.
2004-10-29 Alexandre Duret-Lutz <adl@src.lip6.fr> 2004-10-29 Alexandre Duret-Lutz <adl@src.lip6.fr>

View file

@ -267,7 +267,7 @@ main(int argc, char **argv)
#endif #endif
spot::tgba_run* run = ce->accepting_run(); spot::tgba_run* run = ce->accepting_run();
// FIXME: reimplement the projection // FIXME: reimplement the projection
spot::print_tgba_run(std::cout, run, prod); spot::print_tgba_run(std::cout, prod, run);
ce->print_stats(std::cout); ce->print_stats(std::cout);
delete run; delete run;
delete ce; delete ce;
@ -302,7 +302,7 @@ main(int argc, char **argv)
{ {
spot::tgba_run* run = res->accepting_run(); spot::tgba_run* run = res->accepting_run();
// FIXME: reimplement the projection // FIXME: reimplement the projection
spot::print_tgba_run(std::cout, run, prod); spot::print_tgba_run(std::cout, prod, run);
delete run; delete run;
} }
else else

View file

@ -51,8 +51,8 @@ namespace spot
} }
std::ostream& print_tgba_run(std::ostream& os, std::ostream& print_tgba_run(std::ostream& os,
const tgba_run* run, const tgba* a,
const tgba* a) const tgba_run* run)
{ {
bdd_dict* d = a->get_dict(); bdd_dict* d = a->get_dict();
os << "Prefix:" << std::endl; os << "Prefix:" << std::endl;

View file

@ -54,8 +54,8 @@ namespace spot
class tgba; class tgba;
std::ostream& print_tgba_run(std::ostream& os, std::ostream& print_tgba_run(std::ostream& os,
const tgba_run* run, const tgba* a,
const tgba* a); const tgba_run* run);
/// \brief The result of an emptiness check. /// \brief The result of an emptiness check.
/// ///

View file

@ -580,7 +580,7 @@ main(int argc, char** argv)
} }
else else
{ {
spot::print_tgba_run(std::cout, run, ec_a); spot::print_tgba_run(std::cout, ec_a, run);
if (!spot::replay_tgba_run(std::cout, ec_a, run)) if (!spot::replay_tgba_run(std::cout, ec_a, run))
exit_code = 1; exit_code = 1;
delete run; delete run;