public class OptDirectedGraphBuilder extends BasicDirectedGraphBuilder
OptDirectedNode
,
OptDirectedEdge
Constructor and Description |
---|
OptDirectedGraphBuilder() |
Modifier and Type | Method and Description |
---|---|
Edge |
buildEdge(Node nodeA,
Node nodeB)
Creates an optimized directed edge.
|
Node |
buildNode()
Creates an optimized directed node.
|
addEdge, buildGraph
addNode, clone, getEdges, getGraph, getNodes, importGraph, removeEdge, removeEdges, removeNode, removeNodes
public Node buildNode()
buildNode
in interface GraphBuilder
buildNode
in class BasicDirectedGraphBuilder
GraphBuilder.buildNode()
,
OptDirectedNode
public Edge buildEdge(Node nodeA, Node nodeB)
buildEdge
in interface GraphBuilder
buildEdge
in class BasicDirectedGraphBuilder
nodeA
- Adjacent node to edge.nodeB
- Adjacent node to edge.GraphBuilder#buildEdge()
,
OptDirectedEdge
Copyright © 1996–2019 Geotools. All rights reserved.