* src/tgbaalgos/emptinesscheck.hh (emptiness_check::emptiness_check):
New, take the automaton to work on, and store it ... (emptiness_check::aut_): ... in this new attribute. (emptiness_check::tgba_emptiness_check): Rename as ... (emptiness_check::check): ... this, and remove the automata argument. (emptiness_check::counter_example, emptiness_check::print_result, emptiness_check::remove_component, emptiness_check::accepting_path, emptiness_check::complete_cycle): Remove the automata argument. * src/tgbaalgos/emptinesscheck.cc, src/tgbatest/ltl2tgba.cc, iface/gspn/ltlgspn.cc: Adjust.
This commit is contained in:
parent
b60722bc58
commit
90099e47a6
6 changed files with 101 additions and 104 deletions
|
|
@ -107,14 +107,14 @@ main(int argc, char **argv)
|
|||
{
|
||||
case Couvreur:
|
||||
{
|
||||
spot::emptiness_check ec;
|
||||
bool res = ec.tgba_emptiness_check(prod);
|
||||
spot::emptiness_check ec(prod);
|
||||
bool res = ec.check();
|
||||
if (!res)
|
||||
{
|
||||
if (compute_counter_example)
|
||||
{
|
||||
ec.counter_example(prod);
|
||||
ec.print_result(std::cout, prod, model);
|
||||
ec.counter_example();
|
||||
ec.print_result(std::cout, model);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue