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

@ -24,6 +24,11 @@
namespace spot
{
/// \brief Remove useless acceptance sets
SPOT_API void
cleanup_acceptance(tgba_digraph_ptr& aut);
/// @{
SPOT_API tgba_digraph_ptr
cleanup_acceptance_here(tgba_digraph_ptr aut);
SPOT_API tgba_digraph_ptr
cleanup_acceptance(const_tgba_digraph_ptr aut);
/// @}
}