All Packages Class Hierarchy This Package Previous Next Index
Class jdsl.core.algo.graphtraversals.FindAllVerticesDFS
java.lang.Object
|
+----jdsl.core.algo.graphtraversals.DFS
|
+----jdsl.core.algo.graphtraversals.FindAllVerticesDFS
- public class FindAllVerticesDFS
- extends DFS
This class specializes DFS to return an enumeration of the vertices in
the connected component of the start vertex. The vertices are returned
in the order they were examined by DFS.
-
vertices
-
-
FindAllVerticesDFS()
-
-
execute(InspectableGraph, Vertex, Object)
- Runs the depth first search algorithm on a graph.
-
startVisit(Vertex)
- Called when a vertex is visited.
vertices
protected Sequence vertices
FindAllVerticesDFS
public FindAllVerticesDFS()
execute
public Object execute(InspectableGraph g,
Vertex start,
Object info)
- Runs the depth first search algorithm on a graph.
- Overrides:
- execute in class DFS
startVisit
public void startVisit(Vertex v)
- Called when a vertex is visited.
- Overrides:
- startVisit in class DFS
All Packages Class Hierarchy This Package Previous Next Index