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