* src/tgbaalgos/projrun.hh, src/tgbaalgos/projrun.cc: New files.
* src/tgbaalgos/Makefile.am (tgbaalgos_HEADERS, libtgbaalgos_la_SOURCES): Add them. * iface/gspn/ltlgspn.cc (main): Call project_tgba_run if -P.
This commit is contained in:
parent
0fd665f3a2
commit
e3de75f677
5 changed files with 126 additions and 4 deletions
|
|
@ -37,6 +37,7 @@
|
|||
#include "tgbaalgos/magic.hh"
|
||||
#include "tgbaalgos/gtec/gtec.hh"
|
||||
#include "tgbaalgos/gtec/ce.hh"
|
||||
#include "tgbaalgos/projrun.hh"
|
||||
|
||||
|
||||
void
|
||||
|
|
@ -266,8 +267,16 @@ main(int argc, char **argv)
|
|||
}
|
||||
#endif
|
||||
spot::tgba_run* run = ce->accepting_run();
|
||||
// FIXME: reimplement the projection
|
||||
spot::print_tgba_run(std::cout, prod, run);
|
||||
if (proj)
|
||||
{
|
||||
spot::tgba_run* p = project_tgba_run(prod, model, run);
|
||||
spot::print_tgba_run(std::cout, model, p);
|
||||
delete p;
|
||||
}
|
||||
else
|
||||
{
|
||||
spot::print_tgba_run(std::cout, prod, run);
|
||||
}
|
||||
ce->print_stats(std::cout);
|
||||
delete run;
|
||||
delete ce;
|
||||
|
|
@ -301,8 +310,16 @@ main(int argc, char **argv)
|
|||
if (compute_counter_example)
|
||||
{
|
||||
spot::tgba_run* run = res->accepting_run();
|
||||
// FIXME: reimplement the projection
|
||||
spot::print_tgba_run(std::cout, prod, run);
|
||||
if (proj)
|
||||
{
|
||||
spot::tgba_run* p = project_tgba_run(prod, model, run);
|
||||
spot::print_tgba_run(std::cout, model, p);
|
||||
delete p;
|
||||
}
|
||||
else
|
||||
{
|
||||
spot::print_tgba_run(std::cout, prod, run);
|
||||
}
|
||||
delete run;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue