* tgbaalgos/reachiter.hh, tgbaalgos/reachiter.cc

(tgba_reachable_iterator::process_link): Take the state* as arguments
in addition to the state numbers.
* src/tgba/tgbaexplicit.hh, src/tgba/tgbaexplicit.cc
(tgba_explicit::copy_acceptance_conditions_of): New method.
* tgbaalgos/dupexp.cc (dupexp_iter::dupexp_iter): Call
copy_acceptance_conditions_of.
(dupexp_iter::process_state, duplex_iter::declare_state,
dupexp_iter::name_): Remove.
(dupexp_iter::process_link): Adjust prototype, and format
the state here rather than in process_state.
* tgbaalgos/stats.cc, tgbaalgos/dotty.cc: Adjust prototype
of process_link.
This commit is contained in:
Alexandre Duret-Lutz 2004-11-03 11:59:58 +00:00
parent b6f3faba38
commit 42b05c7a05
8 changed files with 62 additions and 47 deletions

View file

@ -67,11 +67,11 @@ namespace spot
{
seen[current] = ++n;
add_state(current);
process_link(tn, n, si);
process_link(t, tn, current, n, si);
}
else
{
process_link(tn, s->second, si);
process_link(t, tn, s->first, s->second, si);
delete current;
}
}
@ -97,7 +97,9 @@ namespace spot
}
void
tgba_reachable_iterator::process_link(int, int, const tgba_succ_iterator*)
tgba_reachable_iterator::process_link(const state*, int,
const state*, int,
const tgba_succ_iterator*)
{
}