* src/tgba/tgbaexplicit.cc (tgba_explicit_succ_iterator::current_state,
tgba_explicit_succ_iterator::current_condition, tgba_explicit_succ_iterator::current_accepting_conditions): Assert the iteration is not finished.
This commit is contained in:
parent
d647e7a0db
commit
ca27267c69
2 changed files with 10 additions and 0 deletions
|
|
@ -1,3 +1,10 @@
|
|||
2004-10-13 Alexandre Duret-Lutz <adl@src.lip6.fr>
|
||||
|
||||
* src/tgba/tgbaexplicit.cc (tgba_explicit_succ_iterator::current_state,
|
||||
tgba_explicit_succ_iterator::current_condition,
|
||||
tgba_explicit_succ_iterator::current_accepting_conditions): Assert
|
||||
the iteration is not finished.
|
||||
|
||||
2004-10-12 Alexandre Duret-Lutz <adl@gnu.org>
|
||||
|
||||
* wrap/python/tests/run.in: Typo. From Akim Demaille.
|
||||
|
|
|
|||
|
|
@ -59,18 +59,21 @@ namespace spot
|
|||
state_explicit*
|
||||
tgba_explicit_succ_iterator::current_state() const
|
||||
{
|
||||
assert(!done());
|
||||
return new state_explicit((*i_)->dest);
|
||||
}
|
||||
|
||||
bdd
|
||||
tgba_explicit_succ_iterator::current_condition() const
|
||||
{
|
||||
assert(!done());
|
||||
return (*i_)->condition;
|
||||
}
|
||||
|
||||
bdd
|
||||
tgba_explicit_succ_iterator::current_acceptance_conditions() const
|
||||
{
|
||||
assert(!done());
|
||||
return (*i_)->acceptance_conditions & all_acceptance_conditions_;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue