|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.graph.build.basic.BasicGraphBuilder org.geotools.graph.build.basic.BasicDirectedGraphBuilder
An implementation of GraphBuilder used to build directed graphs.
DirectedGraph
Constructor Summary | |
BasicDirectedGraphBuilder()
|
Method Summary | |
void |
addEdge(Edge edge)
Adds a directed edge to the graph. |
Edge |
buildEdge(Node nodeA,
Node nodeB)
Builds a directed edge. |
protected Graph |
buildGraph()
Creates a directed graph object. |
Node |
buildNode()
Builds a directed node. |
Methods inherited from class org.geotools.graph.build.basic.BasicGraphBuilder |
addNode, clone, getEdges, getGraph, getNodes, importGraph, removeEdge, removeEdges, removeNode, removeNodes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BasicDirectedGraphBuilder()
Method Detail |
public Node buildNode()
buildNode
in interface GraphBuilder
buildNode
in class BasicGraphBuilder
DirectedNode
,
GraphBuilder.buildNode()
public Edge buildEdge(Node nodeA, Node nodeB)
buildEdge
in interface GraphBuilder
buildEdge
in class BasicGraphBuilder
DirectedEdge
,
GraphBuilder#buildEdge()
public void addEdge(Edge edge)
addEdge
in interface GraphBuilder
addEdge
in class BasicGraphBuilder
DirectedEdge
,
GraphBuilder.addEdge(Edge)
protected Graph buildGraph()
buildGraph
in class BasicGraphBuilder
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |