An implementation of spot::twa_reachable_iterator that browses states breadth first.
More...
#include <spot/twaalgos/reachiter.hh>
An implementation of spot::twa_reachable_iterator that browses states breadth first.
◆ add_state()
virtual void spot::twa_reachable_iterator_breadth_first::add_state |
( |
const state * |
s | ) |
|
|
overridevirtual |
◆ end()
virtual void spot::twa_reachable_iterator::end |
( |
| ) |
|
|
virtualinherited |
Called by run() once all states have been explored.
◆ next_state()
virtual const state * spot::twa_reachable_iterator_breadth_first::next_state |
( |
| ) |
|
|
overridevirtual |
◆ process_link()
virtual void spot::twa_reachable_iterator::process_link |
( |
const state * |
in_s, |
|
|
int |
in, |
|
|
const state * |
out_s, |
|
|
int |
out, |
|
|
const twa_succ_iterator * |
si |
|
) |
| |
|
virtualinherited |
Called by run() to process a transition.
- Parameters
-
in_s | The source state |
in | The source state number. |
out_s | The destination state |
out | The destination state number. |
si | The spot::twa_succ_iterator positioned on the current transition. |
The in_s and out_s states are owned by the spot::twa_reachable_iterator instance and destroyed when the instance is destroyed.
◆ process_state()
Called by run() to process a state.
- Parameters
-
◆ run()
virtual void spot::twa_reachable_iterator::run |
( |
| ) |
|
|
virtualinherited |
◆ start()
virtual void spot::twa_reachable_iterator::start |
( |
| ) |
|
|
virtualinherited |
Called by run() before starting its iteration.
◆ want_state()
virtual bool spot::twa_reachable_iterator::want_state |
( |
const state * |
s | ) |
const |
|
virtualinherited |
Called by add_state or next_states implementations to filter states. Default implementation always return true.
◆ aut_
const_twa_ptr spot::twa_reachable_iterator::aut_ |
|
protectedinherited |
The spot::tgba to explore.
◆ seen
state_map<int> spot::twa_reachable_iterator::seen |
|
protectedinherited |
◆ todo
std::deque<const state*> spot::twa_reachable_iterator_breadth_first::todo |
|
protected |
A queue of states yet to explore.
The documentation for this class was generated from the following file: