Claw
1.7.3
|
This class performs a depth scan of a graph. Only reachables vertices from a given vertex are proceeded. More...
#include <graph_algorithm.hpp>
Public Types | |
typedef Graph::vertex_type | vertex_type |
typedef Graph::vertex_iterator | vertex_iterator |
typedef std::map< vertex_type, int, typename Graph::vertex_compare > | coloration |
Colors are : |
Public Member Functions | |
breadth_scan (const Graph &g, const vertex_type &source, Events &events) | |
Constructor. | |
void | operator() () |
Performs the scan. |
This class performs a depth scan of a graph. Only reachables vertices from a given vertex are proceeded.
Definition at line 72 of file graph_algorithm.hpp.
typedef std::map<vertex_type, int, typename Graph::vertex_compare> claw::breadth_scan< Graph, Events >::coloration |
Colors are :
Definition at line 84 of file graph_algorithm.hpp.
claw::breadth_scan< Graph, Events >::breadth_scan | ( | const Graph & | g, |
const vertex_type & | source, | ||
Events & | events | ||
) |
Constructor.
g | Graph to scan. |
source | Start_Vertexing vertex. |
events | User's processings. |
Definition at line 41 of file graph_algorithm.tpp.