#include <tgba/taatgba.hh>
Member Typedef Documentation
Those typedefs are used to generate all possible successors in the constructor using a cartesian product.
Constructor & Destructor Documentation
virtual spot::taa_succ_iterator::~taa_succ_iterator |
( |
| ) |
|
|
virtual |
Member Function Documentation
virtual bdd spot::taa_succ_iterator::current_acceptance_conditions |
( |
| ) |
const |
|
virtual |
virtual bdd spot::taa_succ_iterator::current_condition |
( |
| ) |
const |
|
virtual |
Get the condition on the transition leading to this successor.
This is a boolean function of atomic propositions.
Implements spot::tgba_succ_iterator.
virtual state_set* spot::taa_succ_iterator::current_state |
( |
| ) |
const |
|
virtual |
Get the state of the current successor.
Note that the same state may occur at different points in the iteration. These actually correspond to the same destination. It just means there were several transitions, with different conditions, leading to the same state.
The returned state should be destroyed (see state::destroy) by the caller after it is no longer used.
Implements spot::tgba_succ_iterator.
virtual bool spot::taa_succ_iterator::done |
( |
| ) |
const |
|
virtual |
Check whether the iteration is finished.
This function should be called after any call to \c first()
or \c next() and before any enquiry about the current state.
The usual way to do this is with a \c for loop.
@code
for (s->first(); !s->done(); s->next()) ...
Implements spot::tgba_succ_iterator.
virtual void spot::taa_succ_iterator::first |
( |
| ) |
|
|
virtual |
Position the iterator on the first successor (if any).
This method can be called several times to make multiple passes over successors.
- Warning
- One should always call
done()
to ensure there is a successor, even after first()
. A common trap is to assume that there is at least one successor: this is wrong.
Implements spot::tgba_succ_iterator.
virtual void spot::taa_succ_iterator::next |
( |
| ) |
|
|
virtual |
Member Data Documentation
bdd spot::taa_succ_iterator::all_acceptance_conditions_ |
|
private |
The documentation for this class was generated from the following file: