rename cleanup_acceptance() as cleanup_acceptance_here()

And add a cleanup_acceptance() version that copies.

* src/tgbaalgos/cleanacc.cc, src/tgbaalgos/cleanacc.hh: Rename
and add the second version.
* src/bin/autfilt.cc, src/bin/ltlcross.cc,
src/tgbaalgos/dtgbacomp.cc, src/tgbaalgos/remfin.cc: Use
cleanup_acceptance_here.
This commit is contained in:
Alexandre Duret-Lutz 2015-03-31 10:44:53 +02:00
parent c5ecd09fb6
commit df981a0676
6 changed files with 22 additions and 11 deletions

View file

@ -333,7 +333,7 @@ namespace spot
}
res->purge_dead_states();
trace << "before cleanup: " << res->get_acceptance() << '\n';
cleanup_acceptance(res);
cleanup_acceptance_here(res);
trace << "after cleanup: " << res->get_acceptance() << '\n';
return res;
}