tgba: remove the global_state and global_automaton argument of succ_iter

* iface/dve2/dve2.cc, src/kripke/kripkeexplicit.cc,
src/kripke/kripkeexplicit.hh, src/ta/tgtaexplicit.cc,
src/ta/tgtaexplicit.hh, src/ta/tgtaproduct.cc, src/ta/tgtaproduct.hh,
src/tgba/taatgba.cc, src/tgba/taatgba.hh, src/tgba/tgba.hh,
src/tgba/tgbabddconcrete.cc, src/tgba/tgbabddconcrete.hh,
src/tgba/tgbaexplicit.hh, src/tgba/tgbakvcomplement.cc,
src/tgba/tgbakvcomplement.hh, src/tgba/tgbamask.cc,
src/tgba/tgbamask.hh, src/tgba/tgbaproduct.cc, src/tgba/tgbaproduct.hh,
src/tgba/tgbaproxy.cc, src/tgba/tgbaproxy.hh,
src/tgba/tgbasafracomplement.cc, src/tgba/tgbasafracomplement.hh,
src/tgba/tgbascc.cc, src/tgba/tgbascc.hh, src/tgba/tgbasgba.cc,
src/tgba/tgbasgba.hh, src/tgba/tgbatba.cc, src/tgba/tgbatba.hh,
src/tgba/tgbaunion.cc, src/tgba/tgbaunion.hh, src/tgba/wdbacomp.cc:
Here.
* NEWS: Mention it.
This commit is contained in:
Alexandre Duret-Lutz 2014-02-17 19:43:03 +01:00
parent 0fba428cd9
commit bd870f9ab8
33 changed files with 63 additions and 179 deletions

View file

@ -848,11 +848,10 @@ namespace spot
virtual
dve2_succ_iterator*
succ_iter(const state* local_state,
const state*, const tgba*) const
succ_iter(const state* st) const
{
// This may also compute successors in state_condition_last_cc
bdd scond = compute_state_condition(local_state);
bdd scond = compute_state_condition(st);
callback_context* cc;
if (state_condition_last_cc_)
@ -863,11 +862,11 @@ namespace spot
else
{
int t;
cc = build_cc(get_vars(local_state), t);
cc = build_cc(get_vars(st), t);
// Add a self-loop to dead-states if we care about these.
if (t == 0 && scond != bddfalse)
cc->transitions.push_back(local_state->clone());
cc->transitions.push_back(st->clone());
}
if (iter_cache_)