Uses of Interface
org.geotools.graph.structure.Node
-
-
Uses of Node in org.geotools.graph.build
Methods in org.geotools.graph.build that return Node Modifier and Type Method Description Node
GraphBuilder. buildNode()
Builds a new node for the graph.Methods in org.geotools.graph.build with parameters of type Node Modifier and Type Method Description void
GraphBuilder. addNode(Node node)
Adds a node to the graph.Edge
GraphBuilder. buildEdge(Node nodeA, Node nodeB)
Builds a new edge for the graph.void
GraphBuilder. removeNode(Node node)
Removes an node from the graph. -
Uses of Node in org.geotools.graph.build.basic
Methods in org.geotools.graph.build.basic that return Node Modifier and Type Method Description Node
BasicDirectedGraphBuilder. buildNode()
Builds a directed node.Node
BasicGraphBuilder. buildNode()
Methods in org.geotools.graph.build.basic that return types with arguments of type Node Modifier and Type Method Description Collection<Node>
BasicGraphBuilder. getNodes()
Returns the nodes belonging to the graph being built.Methods in org.geotools.graph.build.basic with parameters of type Node Modifier and Type Method Description void
BasicGraphBuilder. addNode(Node node)
Edge
BasicDirectedGraphBuilder. buildEdge(Node nodeA, Node nodeB)
Builds a directed edge.Edge
BasicGraphBuilder. buildEdge(Node nodeA, Node nodeB)
void
BasicGraphBuilder. removeNode(Node node)
-
Uses of Node in org.geotools.graph.build.line
Methods in org.geotools.graph.build.line that return Node Modifier and Type Method Description Node
BasicDirectedLineGraphBuilder. buildNode()
Returns a node of type BasicDirectedXYNode.Node
BasicLineGraphBuilder. buildNode()
Returns a node of type BasicXYNode.Node
OptDirectedLineGraphBuilder. buildNode()
Returns a node of type OptDirectedXYNode.Node
OptLineGraphBuilder. buildNode()
Returns a node of type OptXYNode.Node
BasicLineGraphGenerator. getNode(Coordinate c)
Node
LineGraphGenerator. getNode(Coordinate coordinate)
Look up a Node for the provided coordinate.Node
OptDirectedLineGraphGenerator. getNode(Coordinate c)
Node
OptLineGraphGenerator. getNode(Coordinate c)
Methods in org.geotools.graph.build.line with parameters of type Node Modifier and Type Method Description protected LineSegment
BasicLineGraphGenerator. alterLine(LineSegment line, Node n1, Node n2)
protected LineSegment
LineStringGraphGenerator. alterLine(LineSegment line, Node n1, Node n2)
protected void
BasicLineGraphGenerator. setObject(Node n, Object obj)
protected void
LineStringGraphGenerator. setObject(Node n, Object obj)
-
Uses of Node in org.geotools.graph.build.opt
Methods in org.geotools.graph.build.opt that return Node Modifier and Type Method Description Node
OptDirectedGraphBuilder. buildNode()
Creates an optimized directed node.Node
OptGraphBuilder. buildNode()
Creates an optimized node.Methods in org.geotools.graph.build.opt with parameters of type Node Modifier and Type Method Description Edge
OptDirectedGraphBuilder. buildEdge(Node nodeA, Node nodeB)
Creates an optimized directed edge.Edge
OptGraphBuilder. buildEdge(Node nodeA, Node nodeB)
Creates an optimized edge. -
Uses of Node in org.geotools.graph.build.polygon
Methods in org.geotools.graph.build.polygon that return Node Modifier and Type Method Description protected Node
PolygonGraphGenerator. find(Polygon polygon)
Methods in org.geotools.graph.build.polygon with parameters of type Node Modifier and Type Method Description protected void
PolygonGraphGenerator. relate(Node node)
-
Uses of Node in org.geotools.graph.io.standard
Methods in org.geotools.graph.io.standard with parameters of type Node Modifier and Type Method Description protected void
DBReaderWriter. writeNode(Statement st, Node node)
Template method used to write a node into the database.protected void
TextfileReaderWriter. writeNode(Writer out, Node n)
Template method for writing the text representation of a node to an text file. -
Uses of Node in org.geotools.graph.path
Methods in org.geotools.graph.path that return Node Modifier and Type Method Description Node
NodeSequence. getFirst()
Returns the first node in the sequence.Node
Walk. getFirst()
Node
NodeSequence. getLast()
Returns the last node in the sequence.Node
Walk. getLast()
Node
Walk. remove(int index)
Methods in org.geotools.graph.path that return types with arguments of type Node Modifier and Type Method Description Iterator<Node>
Walk. riterator()
Returns an iterator that iterates over the path in reverse.Methods in org.geotools.graph.path with parameters of type Node Modifier and Type Method Description void
Walk. add(int index, Node element)
boolean
Walk. add(Node node)
Adds a node to the walk.Path
ExhaustivePathFinder. getPath(Node from, Node to)
List
ExhaustivePathFinder. getPaths(Node from, GraphVisitor visitor)
List
ExhaustivePathFinder. getPaths(Node from, Node to)
void
Walk. remove(Node node)
Removes a node from the walk.Method parameters in org.geotools.graph.path with type arguments of type Node Modifier and Type Method Description boolean
Walk. addAll(int index, Collection<? extends Node> c)
boolean
Walk. addAll(Collection<? extends Node> c)
Constructors in org.geotools.graph.path with parameters of type Node Constructor Description AStarShortestPathFinder(Graph graph, Node source, Node target, AStarIterator.AStarFunctions afuncs)
Constructs a new path finderConstructor parameters in org.geotools.graph.path with type arguments of type Node Constructor Description Cycle(Collection<Node> nodes)
Path(Collection<Node> nodes)
Walk(Collection<Node> nodes)
-
Uses of Node in org.geotools.graph.structure
Subinterfaces of Node in org.geotools.graph.structure Modifier and Type Interface Description interface
DirectedNode
Represents a node in a directed graph.Methods in org.geotools.graph.structure that return Node Modifier and Type Method Description Node
Edge. getNodeA()
Returns the A node of the edge.Node
Edge. getNodeB()
Returns the B node of the edge.Node
Edge. getOtherNode(Node node)
Returns one of the two nodes of an edge.Methods in org.geotools.graph.structure that return types with arguments of type Node Modifier and Type Method Description Collection<Node>
Graph. getNodes()
Returns the nodes of the graph.List<Node>
Graph. getNodesOfDegree(int n)
Returns all the nodes in the graph of a specified degree.List<Node>
Graph. getVisitedNodes(boolean visited)
Returns all the nodes in the graph that have been marked as visited or non-visited.List<Node>
Graph. queryNodes(GraphVisitor visitor)
Performs a query against the nodes of the graph.Methods in org.geotools.graph.structure with parameters of type Node Modifier and Type Method Description Edge
Node. getEdge(Node other)
Returns an edge in the adjacency list of the node that is adjacent to another specified node.List<? extends Edge>
Node. getEdges(Node other)
Returns a collection of edges in the adjacency list of the node that are adjacent to another specified node.Node
Edge. getOtherNode(Node node)
Returns one of the two nodes of an edge. -
Uses of Node in org.geotools.graph.structure.basic
Classes in org.geotools.graph.structure.basic that implement Node Modifier and Type Class Description class
BasicDirectedNode
Basic implementation of DirectedNode.class
BasicNode
Basic implementation of Node.Methods in org.geotools.graph.structure.basic that return Node Modifier and Type Method Description Node
BasicDirectedEdge. getNodeA()
Returns the in node.Node
BasicEdge. getNodeA()
Node
BasicDirectedEdge. getNodeB()
Returns the out node.Node
BasicEdge. getNodeB()
Node
BasicDirectedEdge. getOtherNode(Node node)
Node
BasicEdge. getOtherNode(Node node)
Returns null if the specified node is neither the A node or the B node.Methods in org.geotools.graph.structure.basic that return types with arguments of type Node Modifier and Type Method Description Collection<Node>
BasicGraph. getNodes()
List<Node>
BasicGraph. getNodesOfDegree(int n)
Iterator<Node>
BasicNode. getRelated()
Returns all nodes that are incident with adjacent edges minus itself.List<Node>
BasicGraph. getVisitedNodes(boolean visited)
List<Node>
BasicGraph. queryNodes(GraphVisitor visitor)
Methods in org.geotools.graph.structure.basic with parameters of type Node Modifier and Type Method Description Edge
BasicDirectedNode. getEdge(Node other)
First searches for an in edge with an out node == this, and in node == other.Edge
BasicNode. getEdge(Node other)
List<DirectedEdge>
BasicDirectedNode. getEdges(Node other)
A combination of the results of getInEdges(Node) and getOutEdges(Node).List<Edge>
BasicNode. getEdges(Node other)
Node
BasicDirectedEdge. getOtherNode(Node node)
Node
BasicEdge. getOtherNode(Node node)
Returns null if the specified node is neither the A node or the B node.Method parameters in org.geotools.graph.structure.basic with type arguments of type Node Modifier and Type Method Description void
BasicGraph. setNodes(Collection<Node> nodes)
Sets the node collection of the graph.Constructors in org.geotools.graph.structure.basic with parameters of type Node Constructor Description BasicEdge(Node nodeA, Node nodeB)
Constructs a new edge.Constructor parameters in org.geotools.graph.structure.basic with type arguments of type Node Constructor Description BasicDirectedGraph(Collection<Node> nodes, Collection<Edge> edges)
Creates a directed graph from a collection of directed nodes and a collection of directed edges.BasicGraph(Collection<Node> nodes, Collection<Edge> edges)
Constructs a graph from a collection of nodes and a collection of edges. -
Uses of Node in org.geotools.graph.structure.line
Subinterfaces of Node in org.geotools.graph.structure.line Modifier and Type Interface Description interface
XYNode
Represents a node in a line network.Classes in org.geotools.graph.structure.line that implement Node Modifier and Type Class Description class
BasicDirectedXYNode
Basic implementation of a directed XYNode extended from BasicDirectedNode.class
BasicXYNode
Basic implementation of XYNode extended from BasicNode.class
OptDirectedXYNode
Optimized implementation of XYNode extended from OptDirectedNode.class
OptXYNode
Optimized implementation of XYNode extended from OptNode. -
Uses of Node in org.geotools.graph.structure.opt
Classes in org.geotools.graph.structure.opt that implement Node Modifier and Type Class Description class
OptDirectedNode
Optimized implementation of DirectedNode.class
OptNode
Optimized implementation of Node.Methods in org.geotools.graph.structure.opt that return Node Modifier and Type Method Description Node
OptDirectedEdge. getNodeA()
Node
OptEdge. getNodeA()
Node
OptDirectedEdge. getNodeB()
Node
OptEdge. getNodeB()
Node
OptDirectedEdge. getOtherNode(Node node)
Node
OptEdge. getOtherNode(Node node)
Node
OptDirectedNode.RelatedIterator. next()
Returns the next related node.Node
OptNode.RelatedIterator. next()
Returns the next related node.Methods in org.geotools.graph.structure.opt that return types with arguments of type Node Modifier and Type Method Description Iterator<Node>
OptDirectedNode. getInRelated()
This iterator iterates over the underlying in edge array of the node.Iterator<Node>
OptDirectedNode. getOutRelated()
This iterator iterates over the underlying out edge array of the node.Iterator<Node>
OptDirectedNode. getRelated()
This iterator iterates over the underlying edge arrays of the node.Iterator<Node>
OptNode. getRelated()
This iterator iterates over the underlying edge array of the node.Methods in org.geotools.graph.structure.opt with parameters of type Node Modifier and Type Method Description Edge
OptDirectedNode. getEdge(Node other)
Edge
OptNode. getEdge(Node other)
List<Edge>
OptDirectedNode. getEdges(Node other)
List<Edge>
OptNode. getEdges(Node other)
Node
OptDirectedEdge. getOtherNode(Node node)
Node
OptEdge. getOtherNode(Node node)
-
Uses of Node in org.geotools.graph.traverse.standard
Fields in org.geotools.graph.traverse.standard declared as Node Modifier and Type Field Description Node
DijkstraIterator.DijkstraNode. node
underlying graph node *Methods in org.geotools.graph.traverse.standard that return Node Modifier and Type Method Description Node
AStarIterator.AStarFunctions. getDest()
Node
AStarIterator.AStarNode. getNode()
Node
AStarIterator. getParent(Node n)
Methods in org.geotools.graph.traverse.standard with parameters of type Node Modifier and Type Method Description Node
AStarIterator. getParent(Node n)
double
DijkstraIterator.NodeWeighter. getWeight(Node n, Edge e1, Edge e2)
Returns the weight for a node, with respect to two adjecent edges.abstract double
AStarIterator.AStarFunctions. h(Node n)
Defines the heuristic function for nvoid
AStarIterator.AStarFunctions. setDestination(Node destination)
Sets up the destination node for the algorithmvoid
AStarIterator.AStarNode. setNode(Node n)
Constructors in org.geotools.graph.traverse.standard with parameters of type Node Constructor Description AStarFunctions(Node destination)
Creates a new instance and sets up the destination node for the algorithmAStarIterator(Node source, AStarIterator.AStarFunctions afuncs)
AStarNode(Node n, double h_val)
DijkstraNode(Node node, double cost)
Constructs a new Dijkstra node. -
Uses of Node in org.geotools.graph.util.delaunay
Classes in org.geotools.graph.util.delaunay that implement Node Modifier and Type Class Description class
DelaunayNode
Methods in org.geotools.graph.util.delaunay that return Node Modifier and Type Method Description Node[]
Triangle. getNodes()
Node
Triangle. getThirdNode(Edge e)
Methods in org.geotools.graph.util.delaunay with parameters of type Node Modifier and Type Method Description static List<Edge>
AutoClustUtils. findAdjacentEdges(Node node, Collection<Edge> edges)
Edge
Triangle. getOppositeEdge(Node n)
Method parameters in org.geotools.graph.util.delaunay with type arguments of type Node Modifier and Type Method Description static List<Graph>
AutoClustUtils. findConnectedComponents(Collection<Node> nodes, Collection<Edge> edges)
-