|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface DepthFirst.Visitor
| Method Summary | |
|---|---|
void |
backEdge(int edge)
Invoked on the back edges in the graph. |
void |
discoverVertex(int vertex)
Invoked when a vertex is encountered for the first time. |
void |
examineEdge(int edge)
Invoked on every out-edge of each vertex after it is discovered. |
void |
finishVertex(int vertex)
Invoked on a vertex after all of its out edges have been added to the search tree and all of the adjacent vertices have been discovered (but before their out-edges have been examined). |
void |
forwardOrCrossEdge(int edge)
Invoked on forward or cross edges in the graph. |
void |
initializeVertex(int vertex)
invoked on every vertex of the graph before the start of the graph search. |
void |
startVertex(int vertex)
invoked on the source vertex once before the start of the search. |
void |
treeEdge(int edge)
Invoked on each edge as it becomes a member of the edges that form the search tree. |
| Method Detail |
|---|
void initializeVertex(int vertex)
vertex - the Vertexvoid startVertex(int vertex)
vertex - the Vertexvoid discoverVertex(int vertex)
vertex - the Vertexvoid examineEdge(int edge)
edge - the Edgevoid treeEdge(int edge)
edge - the Edgevoid backEdge(int edge)
edge - the Edgevoid forwardOrCrossEdge(int edge)
edge - the Edgevoid finishVertex(int vertex)
vertex - the Vertex
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||