* iface/gspn/ltlgspn.cc: We call tgba_emptiness_check before
counter_example. And we print the prefix and the periode of counter_example's result. * src/tgbatest/emptinesscheckexplicit.cc (main): We call tgba_emptiness_check before counter_example. * src/tgbatest/emptinesscheck.cc (main): We call tgba_emptiness_check before counter_example. * src/tgbaalgos/emptinesscheck.hh (spot): (spot::print_result): New methode to print the prefix and the periode of counter_example's result. * src/tgbaalgos/emptinesscheck.cc (spot): counter_example doesn't call tgba_emptiness_check. counter_example must be executed after calling tgba_emptiness_check. Remove tgba_emptiness_check calls. (print_result): New methode to print the prefix and the periode of counter_example's result. Remove most of all std::cout during execution of emptiness_check's methodes.
This commit is contained in:
parent
9828bf9800
commit
6920a1c30f
6 changed files with 105 additions and 123 deletions
|
|
@ -49,9 +49,10 @@ main(int argc, char **argv)
|
|||
{
|
||||
spot::emptiness_check empty_check;
|
||||
bool res = empty_check.tgba_emptiness_check(prod);
|
||||
if (!res)
|
||||
if (!res)
|
||||
{
|
||||
empty_check.counter_example(prod);
|
||||
std::cout << empty_check.print_result(std::cout, prod, model);
|
||||
exit(1);
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue