Uses of Interface
org.planit.utils.graph.Vertex
-
Packages that use Vertex Package Description org.planit.algorithms.shortestpath Shortest Path algorithms for PlanItorg.planit.geo Common classes to perform actions on OpenGIS spatial dataorg.planit.graph Network component object classesorg.planit.network.macroscopic.physical Macroscopic physical network component object classesorg.planit.network.physical Physical network component object classesorg.planit.utils.graph Utilities for setting up graphsorg.planit.utils.network.physical Physical network oriented utility classesorg.planit.utils.zoning zoning oriented utility classesorg.planit.zoning -
-
Uses of Vertex in org.planit.algorithms.shortestpath
Fields in org.planit.algorithms.shortestpath declared as Vertex Modifier and Type Field Description protected Vertex
DijkstraShortestPathAlgorithm. currentOrigin
Reference to current origin for which we have collected shortest paths on a ONE-TO-ALL basisMethods in org.planit.algorithms.shortestpath with parameters of type Vertex Modifier and Type Method Description Path
ShortestPathResult. createPath(IdGroupingToken groupId, Vertex origin, Vertex destination)
Create the path from the provided origin to a specified destination vertex, using the results available.double
ShortestPathResult. getCostToReach(Vertex vertex)
Collect the cost to reach the given vertexEdgeSegment
ShortestPathResult. getIncomingEdgeSegmentForVertex(Vertex vertex)
Find the incoming edge segment for a given vertex -
Uses of Vertex in org.planit.geo
Methods in org.planit.geo with parameters of type Vertex Modifier and Type Method Description double
PlanitJtsUtils. getDistanceInKilometres(Vertex vertex1, Vertex vertex2)
Compute the distance in kilometres between two vertices assuming the positions are set and based on the same crs as registered on this class instancedouble
PlanitOpenGisUtils. getDistanceInKilometres(Vertex vertexA, Vertex vertexB)
Compute the distance in kilometres between two vertices assuming the positions are set and based on the same crs as registered on this class instance -
Uses of Vertex in org.planit.graph
Classes in org.planit.graph with type parameters of type Vertex Modifier and Type Class Description class
EdgesImpl<V extends Vertex,E extends Edge>
Implementation of Edges interfaceinterface
GraphBuilder<V extends Vertex,E extends Edge>
Build network elements based on chosen network view.class
GraphImpl<V extends Vertex,E extends Edge>
A graph implementation consisting of vertices and edgesinterface
GraphModifier<V extends Vertex,E extends Edge>
Modify network elements based on chosen network view.class
VerticesImpl<V extends Vertex>
Vertices implementation using a graphbuilder <V> to create the verticesClasses in org.planit.graph that implement Vertex Modifier and Type Class Description class
DirectedVertexImpl
vertex representation connected to one or more entry and exit edgesclass
VertexImpl
vertex representation connected to one or more entry and exit edgesMethods in org.planit.graph that return Vertex Modifier and Type Method Description Vertex
GraphBuilderImpl. createVertex()
Create a new vertex instanceVertex
EdgeImpl. getVertexA()
Vertex A of the edgeVertex
EdgeImpl. getVertexB()
Vertex B of the edgeMethods in org.planit.graph with parameters of type Vertex Modifier and Type Method Description DirectedEdge
DirectedGraphBuilderImpl. createEdge(Vertex vertexA, Vertex vertexB, double lengthKm)
Create a new link instanceE
GraphBuilder. createEdge(Vertex vertexA, Vertex vertexB, double length)
Create a new link instanceEdge
GraphBuilderImpl. createEdge(Vertex vertexA, Vertex vertexB, double length)
Create a new link instanceSet<Edge>
VertexImpl. getEdges(Vertex otherVertex)
colect the edge(s) based on the other vertexE
EdgesImpl. registerNew(Vertex vertexA, Vertex vertexB, double length, boolean registerOnVertices)
Create new edge to network identified via its id, allow to be registered on vertices if indicated)boolean
EdgeImpl. removeVertex(Vertex vertex)
Remove vertex from edgeboolean
EdgeImpl. replace(Vertex vertexToReplace, Vertex vertexToReplaceWith)
Replace one of the vertices of the linkprotected void
EdgeImpl. setVertexA(Vertex vertexA)
set vertex Aprotected void
EdgeImpl. setVertexB(Vertex vertexB)
set vertex BMethod parameters in org.planit.graph with type arguments of type Vertex Modifier and Type Method Description void
GraphBuilderImpl. recreateIds(Vertices<? extends Vertex> vertices)
recreate the ids for all passed in verticesConstructors in org.planit.graph with parameters of type Vertex Constructor Description EdgeImpl(IdGroupingToken groupId, Vertex vertexA, Vertex vertexB, double lengthKm)
Constructor which injects link lengths directly -
Uses of Vertex in org.planit.network.macroscopic.physical
Methods in org.planit.network.macroscopic.physical with parameters of type Vertex Modifier and Type Method Description Link
MacroscopicPhysicalNetworkBuilderImpl. createEdge(Vertex nodeA, Vertex nodeB, double length)
Create a new link instance -
Uses of Vertex in org.planit.network.physical
Classes in org.planit.network.physical that implement Vertex Modifier and Type Class Description class
NodeImpl
Node representation connected to one or more entry and exit linksMethods in org.planit.network.physical with parameters of type Vertex Modifier and Type Method Description Link
PhysicalNetworkBuilderImpl. createEdge(Vertex nodeA, Vertex nodeB, double length)
Create a new link instanceL
LinksImpl. registerNew(Vertex vertexA, Vertex vertexB, double length, boolean registerOnNodes)
Create new link to network identified via its id, injecting link length directly -
Uses of Vertex in org.planit.utils.graph
Classes in org.planit.utils.graph with type parameters of type Vertex Modifier and Type Interface Description interface
Graph<V extends Vertex,E extends Edge>
A graph interface consisting of vertices and edgesinterface
Vertices<V extends Vertex>
Container and factory class for vertices in a graph, also to be used to create and register vertices of any (derived) typeSubinterfaces of Vertex in org.planit.utils.graph Modifier and Type Interface Description interface
DirectedVertex
Directed vertex representation connected to one or more edge segments that have direction.Methods in org.planit.utils.graph that return Vertex Modifier and Type Method Description Vertex
Vertex. clone()
Clone the vertexVertex
Edge. getVertexA()
Vertex A of the edgeVertex
Edge. getVertexB()
Vertex B of the edgeMethods in org.planit.utils.graph with parameters of type Vertex Modifier and Type Method Description Set<Edge>
Vertex. getEdges(Vertex otherVertex)
colect the edge(s) based on the other vertexdefault boolean
Edge. hasVertex(Vertex vertex)
check if vertex is present on the edgedefault E
Edges. registerNew(Vertex vertexA, Vertex vertexB, double length)
Create new edge to graph identified via its id, (not registered on vertices)E
Edges. registerNew(Vertex vertexA, Vertex vertexB, double length, boolean registerOnVertices)
Create new edge to network identified via its id, allow to be registered on vertices if indicated)boolean
Edge. removeVertex(Vertex vertex)
Remove vertex from edgeboolean
Edge. replace(Vertex vertextoReplace, Vertex vertexToReplaceWith)
Replace one of the vertices of the link -
Uses of Vertex in org.planit.utils.network.physical
Subinterfaces of Vertex in org.planit.utils.network.physical Modifier and Type Interface Description interface
Node
Node is a vertex but not all vertices are nodes. -
Uses of Vertex in org.planit.utils.zoning
Subinterfaces of Vertex in org.planit.utils.zoning Modifier and Type Interface Description interface
Centroid
A centroid is a special type of vertex representing the location of departure/arrival of traffic in a zone -
Uses of Vertex in org.planit.zoning
Classes in org.planit.zoning that implement Vertex Modifier and Type Class Description class
CentroidImpl
Centroid implementation
-