* src/tgbaalgos/replayrun.cc, src/tgbaalgos/replayrun.hh: New files.

Cannot test them because the run returned by the emptiness checks
are currently incomplete (they lack the acceptance conditions, and
sometimes even the labels in the prefix).
* src/tgbaalgos/Makefile.am (tgbaalgos_HEADERS,
libtgbaalgos_la_SOURCES): Add them.
* src/tgbatest/ltl2tgba.cc (main): Prepare to use replay_tgba_run
when the emptiness checks are fixed.
This commit is contained in:
Alexandre Duret-Lutz 2004-10-28 12:10:12 +00:00
parent 6c815004c4
commit 7819f14db2
5 changed files with 182 additions and 1 deletions

View file

@ -42,6 +42,7 @@
#include "tgbaalgos/dupexp.hh"
#include "tgbaalgos/neverclaim.hh"
#include "tgbaalgos/reductgba_sim.hh"
#include "tgbaalgos/replayrun.hh"
void
syntax(char* prog)
@ -575,11 +576,13 @@ main(int argc, char** argv)
spot::tgba_run* run = res->accepting_run();
if (!run)
{
std::cout << "an accepting run exist" << std::endl;
std::cout << "an accepting run exists" << std::endl;
}
else
{
spot::print_tgba_run(std::cout, run, ec_a);
// if (!spot::replay_tgba_run(std::cout, ec_a, run))
// exit_code = 1;
delete run;
}
}