get rid of prop_single_acc_set() and set_single_acc_set()

Fixes #64.

* src/tgba/tgba.hh: Here.
* src/tgbaalgos/complete.cc, src/tgbaalgos/degen.cc,
src/tgbaalgos/dtgbacomp.cc, src/tgbaalgos/mask.cc,
src/tgbaalgos/minimize.cc, src/tgbaalgos/remfin.cc,
src/tgbaalgos/sccfilter.cc, src/tgbaalgos/simulation.cc,
src/tgbaalgos/stutter.cc: Adjust.
This commit is contained in:
Alexandre Duret-Lutz 2015-03-18 21:50:37 +01:00
parent d2f11e4075
commit b803a0ee4d
10 changed files with 11 additions and 38 deletions

View file

@ -205,7 +205,7 @@ namespace spot
if (want_sba)
res->prop_state_based_acc();
// Preserve determinism, weakness, and stutter-invariance
res->prop_copy(a, { false, false, true, true, true });
res->prop_copy(a, { false, true, true, true });
// Create an order of acceptance conditions. Each entry in this
// vector correspond to an acceptance set. Each index can
@ -567,7 +567,7 @@ namespace spot
{
// If this already a degeneralized digraph, there is nothing we
// can improve.
if (a->has_single_acc_set())
if (a->acc().is_buchi())
return std::const_pointer_cast<tgba_digraph>(a);
return degeneralize_aux<false>(a, use_z_lvl, use_cust_acc_orders,