* 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
|
|
@ -124,6 +124,7 @@ main(int argc, char** argv)
|
|||
std::cout << print_emptiness_check_ans(emptiness) << std::endl;
|
||||
break;
|
||||
case 7:
|
||||
emptiness = empty_check->tgba_emptiness_check(a);
|
||||
empty_check->counter_example(a);
|
||||
break;
|
||||
default:
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@ main(int argc, char** argv)
|
|||
|
||||
bool debug = false;
|
||||
int filename_index = 1;
|
||||
bool emptiness = false;
|
||||
|
||||
if (!strcmp(argv[1], "-d"))
|
||||
{
|
||||
|
|
@ -40,6 +39,7 @@ main(int argc, char** argv)
|
|||
|
||||
if (spot::format_tgba_parse_errors(std::cerr, pel))
|
||||
return 2;
|
||||
bool emptiness = empty_check.tgba_emptiness_check(a);
|
||||
empty_check.counter_example(a);
|
||||
delete a;
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue