#include <reachiter.hh>
Inheritance diagram for spot::tgba_reachable_iterator:
Public Member Functions | |
tgba_reachable_iterator (const tgba *a) | |
virtual | ~tgba_reachable_iterator () |
void | run () |
Iterate over all reachable states of a spot::tgba. | |
virtual void | start () |
Called by run() before starting its iteration. | |
virtual void | end () |
Called by run() once all states have been explored. | |
virtual void | process_state (const state *s, int n, tgba_succ_iterator *si) |
virtual void | process_link (int in, int out, const tgba_succ_iterator *si) |
Todo list management. | |
Called by run() to register newly discovered states.
spot::tgba_reachable_iterator_depth_first and spot::tgba_reachable_iterator_breadth_first offer two precanned implementations for these functions. | |
virtual void | add_state (const state *s)=0 |
virtual const state * | next_state ()=0 |
Called by run() to obtain the. | |
Protected Types | |
typedef Sgi::hash_map< const state *, int, state_ptr_hash, state_ptr_equal > | seen_map |
Protected Attributes | |
const tgba * | automata_ |
The spot::tgba to explore. | |
seen_map | seen |
States already seen. |
|
Reimplemented in spot::tgba_reduc. |
|
|
|
|
|
Implemented in spot::tgba_reachable_iterator_depth_first, and spot::tgba_reachable_iterator_breadth_first. |
|
Called by run() once all states have been explored.
Reimplemented in spot::tgba_reduc, and spot::parity_game_graph. |
|
Called by run() to obtain the.
Implemented in spot::tgba_reachable_iterator_depth_first, and spot::tgba_reachable_iterator_breadth_first. |
|
Called by run() to process a transition.
Reimplemented in spot::tgba_reduc, and spot::parity_game_graph. |
|
Called by run() to process a state.
Reimplemented in spot::parity_game_graph. |
|
Iterate over all reachable states of a spot::tgba. This is a template method that will call add_state(), next_state(), start(), end(), process_state(), and process_link(), while it iterate over state. |
|
Called by run() before starting its iteration.
Reimplemented in spot::tgba_reduc, and spot::parity_game_graph. |
|
The spot::tgba to explore.
|
|
States already seen.
|