* 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:
rebiha 2003-10-07 12:13:30 +00:00
parent 9828bf9800
commit 6920a1c30f
6 changed files with 105 additions and 123 deletions

View file

@ -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:

View file

@ -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;