|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object infovis.graph.algorithm.Algorithm infovis.graph.algorithm.DepthFirst
public class DepthFirst
Depth first search algorithm for Graphs.
Nested Class Summary | |
---|---|
static interface |
DepthFirst.Visitor
|
Field Summary |
---|
Fields inherited from class infovis.graph.algorithm.Algorithm |
---|
BLACK, GREY, WHITE |
Constructor Summary | |
---|---|
DepthFirst(Graph graph)
Constructor for DepthFirst. |
Method Summary | |
---|---|
void |
visit(DepthFirst.Visitor visitor,
int start)
|
void |
visit(DepthFirst.Visitor vis,
int start,
OpenIntIntHashMap color)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DepthFirst(Graph graph)
Method Detail |
---|
public void visit(DepthFirst.Visitor visitor, int start)
public void visit(DepthFirst.Visitor vis, int start, OpenIntIntHashMap color)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |