|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.geotools.graph.traverse.AbstractGraphTraversal
org.geotools.graph.traverse.SourceGraphTraversal
A GraphTraversal that is intened to start from a single graph componenet. This component is known as the source of the traversal.
| Field Summary |
| Fields inherited from interface org.geotools.graph.traverse.GraphTraversal |
CONTINUE, STOP |
| Constructor Summary | |
SourceGraphTraversal(Graph graph,
GraphWalker walker,
GraphComponent source)
|
|
| Method Summary | |
abstract java.util.Collection |
getActiveElements()
Returns the active elements of the traversal. |
GraphComponent |
getSource()
Returns the source of the traversal. |
protected abstract void |
walk()
|
void |
walkEdges()
Performs the walking algorithm among the edges of the graph. |
void |
walkNodes()
Performs the walking algorithm among the nodes of the graph. |
| Methods inherited from class org.geotools.graph.traverse.AbstractGraphTraversal |
finish, getGraph, getWalker, initEdges, initNodes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SourceGraphTraversal(Graph graph,
GraphWalker walker,
GraphComponent source)
| Method Detail |
public GraphComponent getSource()
public void walkNodes()
AbstractGraphTraversal
walkNodes in interface GraphTraversalwalkNodes in class AbstractGraphTraversalGraphTraversal.walkNodes()public void walkEdges()
AbstractGraphTraversal
walkEdges in interface GraphTraversalwalkEdges in class AbstractGraphTraversalGraphTraversal.walkEdges()public abstract java.util.Collection getActiveElements()
protected abstract void walk()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||