spot
1.2.6
|
Iterate over a conjunction of saba_state. More...
#include <saba/sabasucciter.hh>
Public Member Functions | |
virtual saba_state_conjunction * | clone () const =0 |
Duplicate a saba_state conjunction. More... | |
Iteration | |
virtual void | first ()=0 |
Position the iterator on the first successor of the conjunction (if any). More... | |
virtual void | next ()=0 |
Jump to the next successor (if any). More... | |
virtual bool | done () const =0 |
Check whether the iteration over a conjunction of states is finished. More... | |
Inspection | |
virtual saba_state * | current_state () const =0 |
Get the state of the current successor. More... | |
Iterate over a conjunction of saba_state.
This class provides the basic functionalities required to iterate over a conjunction of states of a saba.
|
pure virtual |
Duplicate a saba_state conjunction.
Implemented in spot::explicit_state_conjunction.
|
pure 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.
Implemented in spot::explicit_state_conjunction.
|
pure virtual |
Check whether the iteration over a conjunction of states is finished.
This function should be called after any call to first()
or next()
and before any enquiry about the current state.
Implemented in spot::explicit_state_conjunction.
|
pure virtual |
Position the iterator on the first successor of the conjunction (if any).
This method can be called several times to make multiple passes over successors.
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. Implemented in spot::explicit_state_conjunction.
|
pure virtual |
Jump to the next successor (if any).
done()
to ensure there is a successor. Implemented in spot::explicit_state_conjunction.