Uses of Interface
org.geotools.graph.structure.Edge
-
-
Uses of Edge in org.geotools.graph.build
Methods in org.geotools.graph.build that return Edge Modifier and Type Method Description Edge
GraphBuilder. buildEdge(Node nodeA, Node nodeB)
Builds a new edge for the graph.Methods in org.geotools.graph.build with parameters of type Edge Modifier and Type Method Description void
GraphBuilder. addEdge(Edge edge)
Adds an edge to the graph.void
GraphBuilder. removeEdge(Edge edge)
Removes an edge from the graph. -
Uses of Edge in org.geotools.graph.build.basic
Methods in org.geotools.graph.build.basic that return Edge Modifier and Type Method Description Edge
BasicDirectedGraphBuilder. buildEdge(Node nodeA, Node nodeB)
Builds a directed edge.Edge
BasicGraphBuilder. buildEdge(Node nodeA, Node nodeB)
Methods in org.geotools.graph.build.basic that return types with arguments of type Edge Modifier and Type Method Description Collection<Edge>
BasicGraphBuilder. getEdges()
Returns the edges belonging to the graph being built.Methods in org.geotools.graph.build.basic with parameters of type Edge Modifier and Type Method Description void
BasicDirectedGraphBuilder. addEdge(Edge edge)
Adds a directed edge to the graph.void
BasicGraphBuilder. addEdge(Edge edge)
Checks for loops in which case it only added the edge to the adjacency list of one of the nodes (both of its nodes are the same node).void
BasicGraphBuilder. removeEdge(Edge edge)
-
Uses of Edge in org.geotools.graph.build.line
Methods in org.geotools.graph.build.line that return Edge Modifier and Type Method Description protected Edge
OptDirectedLineGraphGenerator. generateEdge(LineSegment line)
protected Edge
OptLineGraphGenerator. generateEdge(LineSegment line)
Edge
BasicLineGraphGenerator. getEdge(Coordinate c1, Coordinate c2)
Edge
LineGraphGenerator. getEdge(Coordinate coordinate1, Coordinate coordinate2)
Retrieve edge between the two coordinates.Edge
OptDirectedLineGraphGenerator. getEdge(Coordinate c1, Coordinate c2)
Edge
OptLineGraphGenerator. getEdge(Coordinate c1, Coordinate c2)
Methods in org.geotools.graph.build.line with parameters of type Edge Modifier and Type Method Description protected void
BasicLineGraphGenerator. setObject(Edge e, Object obj)
-
Uses of Edge in org.geotools.graph.build.opt
Methods in org.geotools.graph.build.opt that return Edge 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 Edge in org.geotools.graph.io.standard
Methods in org.geotools.graph.io.standard with parameters of type Edge Modifier and Type Method Description protected void
DBReaderWriter. writeEdge(Statement st, Edge edge)
Template method used to write an edge into the database.protected void
TextfileReaderWriter. writeEdge(Writer out, Edge e)
Template method for writing the text representation of an edge to an text file. -
Uses of Edge in org.geotools.graph.path
Methods in org.geotools.graph.path that return types with arguments of type Edge Modifier and Type Method Description protected List<Edge>
Cycle. buildEdges()
protected List<Edge>
Walk. buildEdges()
Internal method for building the edge set of the walk.List<Edge>
Walk. getEdges()
Calculates the edges in the walk.Methods in org.geotools.graph.path with parameters of type Edge Modifier and Type Method Description boolean
Walk. addEdge(Edge e)
Method parameters in org.geotools.graph.path with type arguments of type Edge Modifier and Type Method Description void
Walk. addEdges(Collection<Edge> edges)
-
Uses of Edge in org.geotools.graph.structure
Subinterfaces of Edge in org.geotools.graph.structure Modifier and Type Interface Description interface
DirectedEdge
Represents an edge in a directed graph.Methods in org.geotools.graph.structure that return Edge 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.Edge
DirectedNode. getInEdge(DirectedNode other)
Returns an edge that terminates at the node and originates from a specified node.Edge
DirectedNode. getOutEdge(DirectedNode other)
Returns an edge that originates at the node and terminates at a specified node.Methods in org.geotools.graph.structure that return types with arguments of type Edge Modifier and Type Method Description Collection<Edge>
Graph. getEdges()
Returns the edges of the graph.List<? extends Edge>
Node. getEdges()
Returns the edge adjacency list of the 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.List<? extends Edge>
DirectedNode. getInEdges()
Returns the in adjacency list of the node.List<? extends Edge>
DirectedNode. getInEdges(DirectedNode other)
Returns all edges that terminate at the node and originate from a specified node.List<? extends Edge>
DirectedNode. getOutEdges()
Returns the out adjacency list of the node.List<? extends Edge>
DirectedNode. getOutEdges(DirectedNode other)
Returns all edges that originate at the node and terminate from at specified node.List<Edge>
Graph. getVisitedEdges(boolean visited)
Returns all the edges in the graph that have been marked as visited or non-visited.Methods in org.geotools.graph.structure with parameters of type Edge Modifier and Type Method Description void
Node. add(Edge e)
Adds an edge to the adjacency list of the node.int
Edge. compareNodes(Edge other)
Compares the node orientation of the edge with another edge.void
Node. remove(Edge e)
Removes an edge from the adjacency list of the node. -
Uses of Edge in org.geotools.graph.structure.basic
Classes in org.geotools.graph.structure.basic that implement Edge Modifier and Type Class Description class
BasicDirectedEdge
Basic implementation of DirectedEdge.class
BasicEdge
Basic implementation of Edge.Methods in org.geotools.graph.structure.basic that return Edge 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)
Edge
BasicDirectedNode. getInEdge(DirectedNode other)
Edge
BasicDirectedNode. getOutEdge(DirectedNode other)
Methods in org.geotools.graph.structure.basic that return types with arguments of type Edge Modifier and Type Method Description Collection<Edge>
BasicGraph. getEdges()
List<Edge>
BasicNode. getEdges()
List<Edge>
BasicNode. getEdges(Node other)
Iterator<Edge>
BasicDirectedEdge. getRelated()
Returns an iterator over all edges incident to both the in and out nodes.Iterator<Edge>
BasicEdge. getRelated()
Returns all edges that are adjacent to both the A and B nodes.List<Edge>
BasicGraph. getVisitedEdges(boolean visited)
List<Edge>
BasicGraph. queryEdges(GraphVisitor visitor)
Methods in org.geotools.graph.structure.basic with parameters of type Edge Modifier and Type Method Description void
BasicDirectedNode. add(Edge e)
Unsupported operation.void
BasicNode. add(Edge e)
Adds an edge to the adjacency list of the node which is an underlying List implementation.int
BasicDirectedEdge. compareNodes(Edge other)
int
BasicEdge. compareNodes(Edge other)
void
BasicDirectedNode. remove(Edge e)
Removes the edge from both the in and out adjacency lists.void
BasicNode. remove(Edge e)
Method parameters in org.geotools.graph.structure.basic with type arguments of type Edge Modifier and Type Method Description void
BasicGraph. setEdges(Collection<Edge> edges)
Sets the edge collection for the graph. -
Uses of Edge in org.geotools.graph.structure.opt
Classes in org.geotools.graph.structure.opt that implement Edge Modifier and Type Class Description class
OptDirectedEdge
Optimized implementation of DirectedEdge.class
OptEdge
Optimized implementation of Edge.Methods in org.geotools.graph.structure.opt that return Edge Modifier and Type Method Description Edge
OptDirectedNode. getEdge(Node other)
Edge
OptNode. getEdge(Node other)
Edge[]
OptNode. getEdgeArray()
Returns the edge adjacency list of the node as an array.Edge
OptDirectedNode. getInEdge(DirectedNode other)
Edge
OptDirectedNode. getOutEdge(DirectedNode other)
Edge
OptEdge.RelatedIterator. next()
Methods in org.geotools.graph.structure.opt that return types with arguments of type Edge Modifier and Type Method Description List<Edge>
OptDirectedNode. getEdges(Node other)
List<Edge>
OptNode. getEdges()
List<Edge>
OptNode. getEdges(Node other)
List<Edge>
OptDirectedNode. getInEdges(DirectedNode other)
List<Edge>
OptDirectedNode. getOutEdges(DirectedNode other)
Iterator<Edge>
OptEdge. getRelated()
Methods in org.geotools.graph.structure.opt with parameters of type Edge Modifier and Type Method Description void
OptDirectedNode. add(Edge e)
Not supported.void
OptNode. add(Edge e)
int
OptDirectedEdge. compareNodes(Edge other)
int
OptEdge. compareNodes(Edge other)
void
OptDirectedNode. remove(Edge e)
Unsupported Operation.void
OptNode. remove(Edge e)
Not supported. -
Uses of Edge in org.geotools.graph.traverse.standard
Methods in org.geotools.graph.traverse.standard with parameters of type Edge Modifier and Type Method Description double
DijkstraIterator.EdgeWeighter. getWeight(Edge e)
Returns the weight for the associated edge.double
DijkstraIterator.NodeWeighter. getWeight(Node n, Edge e1, Edge e2)
Returns the weight for a node, with respect to two adjecent edges. -
Uses of Edge in org.geotools.graph.util.delaunay
Classes in org.geotools.graph.util.delaunay that implement Edge Modifier and Type Class Description class
DelaunayEdge
Methods in org.geotools.graph.util.delaunay that return Edge Modifier and Type Method Description Edge
Triangle. getBoundaryEdge(XYNode n)
Edge[]
Triangle. getEdges()
Edge
Triangle. getOppositeEdge(Node n)
Edge
Triangle. getSharedEdge(Triangle t)
Methods in org.geotools.graph.util.delaunay that return types with arguments of type Edge Modifier and Type Method Description static List<Edge>
AutoClustUtils. findAdjacentEdges(Node node, Collection<Edge> edges)
List<Edge>
AutoClustData. getLongEdges()
List<Edge>
AutoClustData. getOtherEdges()
List<Edge>
AutoClustData. getShortEdges()
Methods in org.geotools.graph.util.delaunay with parameters of type Edge Modifier and Type Method Description boolean
Triangle. containsEdge(Edge e)
Node
Triangle. getThirdNode(Edge e)
Method parameters in org.geotools.graph.util.delaunay with type arguments of type Edge Modifier and Type Method Description static List<Edge>
AutoClustUtils. findAdjacentEdges(Node node, Collection<Edge> edges)
void
AutoClustData. setLongEdges(List<Edge> l)
void
AutoClustData. setOtherEdges(List<Edge> l)
void
AutoClustData. setShortEdges(List<Edge> l)
Constructors in org.geotools.graph.util.delaunay with parameters of type Edge Constructor Description Triangle(Edge e1, Edge e2, Edge e3)
Creates a new instance of Triangle -
Uses of Edge in org.geotools.graph.util.graph
Methods in org.geotools.graph.util.graph with parameters of type Edge Modifier and Type Method Description void
GraphFuser.EdgeMerger. setMergedObject(Edge newEdge, Object merged, List<?> edges)
Sets the object for the edge created to represented the merged object.Method parameters in org.geotools.graph.util.graph with type arguments of type Edge Modifier and Type Method Description Object
GraphFuser.EdgeMerger. merge(List<Edge> edges)
Creates a single object from collection of underlying objects represented by a collection of edges.
-