Uses of Interface
org.goplanit.utils.graph.Vertex
-
Packages that use Vertex Package Description org.goplanit.algorithms.shortestpath Shortest Path algorithms for PlanItorg.goplanit.converter org.goplanit.graph Network component object classesorg.goplanit.graph.directed org.goplanit.graph.modifier org.goplanit.graph.modifier.event org.goplanit.io.converter org.goplanit.io.geo org.goplanit.network.layer.physical Physical network component object classesorg.goplanit.network.layer.service org.goplanit.output.adapter Output Adapter and Output Type Adapter classes and interfacesorg.goplanit.utils.geo org.goplanit.utils.graph Utilities for setting up graphsorg.goplanit.utils.graph.directed org.goplanit.utils.graph.modifier org.goplanit.utils.network.layer.physical org.goplanit.utils.network.layer.service org.goplanit.utils.path org.goplanit.utils.zoning zoning oriented utility classesorg.goplanit.zoning org.goplanit.zoning.modifier.event.handler -
-
Uses of Vertex in org.goplanit.algorithms.shortestpath
Fields in org.goplanit.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.goplanit.algorithms.shortestpath with parameters of type Vertex Modifier and Type Method Description DirectedPath
MinMaxPathResultImpl. createPath(DirectedPathFactory pathFactory, Vertex origin, Vertex destination)
Create the path from the provided origin to a specified destination vertex, using the results available.DirectedPath
ShortestPathResult. createPath(DirectedPathFactory pathFactory, Vertex origin, Vertex destination)
Create the path from the provided origin to a specified destination vertex, using the results available.DirectedPath
ShortestPathResultImpl. createPath(DirectedPathFactory pathFactory, Vertex origin, Vertex destination)
Create the path from the provided origin to a specified destination vertex, using the results available.default int
ShortestPathResult. forEachBackwardEdgeSegment(Vertex origin, Vertex destination, Consumer<EdgeSegment> backwardEdgeSegmentConsumer)
apply consumer to each edge segment on backward path from destination to origin.double
MinMaxPathResultImpl. getCostToReach(Vertex vertex)
Collect the cost to reach the given vertexdouble
ShortestPathResult. getCostToReach(Vertex vertex)
Collect the cost to reach the given vertexdouble
ShortestPathResultImpl. getCostToReach(Vertex vertex)
Collect the cost to reach the given vertexEdgeSegment
MinMaxPathResultImpl. getIncomingEdgeSegmentForVertex(Vertex vertex)
Find the incoming edge segment for a given vertexEdgeSegment
ShortestPathResult. getIncomingEdgeSegmentForVertex(Vertex vertex)
Find the incoming edge segment for a given vertexEdgeSegment
ShortestPathResultImpl. getIncomingEdgeSegmentForVertex(Vertex vertex)
Find the incoming edge segment for a given vertex -
Uses of Vertex in org.goplanit.converter
Methods in org.goplanit.converter that return types with arguments of type Vertex Modifier and Type Method Description static Function<Vertex,String>
IdMapperFunctionFactory. createVertexIdMappingFunction(IdMapperType idMapper)
create a function that takes a node and generates the appropriate id based on the user configuration -
Uses of Vertex in org.goplanit.graph
Classes in org.goplanit.graph with type parameters of type Vertex Modifier and Type Class Description class
GraphImpl<V extends Vertex,E extends Edge>
A graph implementation consisting of vertices and edgesclass
UntypedGraphImpl<V extends Vertex,E extends Edge>
A graph implementation consisting of vertices and edgesClasses in org.goplanit.graph that implement Vertex Modifier and Type Class Description class
VertexImpl
Vertex representation connected to one or more entry and exit edgesMethods in org.goplanit.graph that return Vertex Modifier and Type Method Description Vertex
VertexFactoryImpl. createNew()
Create a new vertex (without registering on this class)Vertex
EdgeImpl. getVertexA()
Vertex A of the edgeVertex
EdgeImpl. getVertexB()
Vertex B of the edgeVertex
VertexFactoryImpl. registerNew()
Create and register new entityMethods in org.goplanit.graph with parameters of type Vertex Modifier and Type Method Description Edge
EdgeFactoryImpl. registerNew(Vertex vertexA, Vertex vertexB, 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 BConstructors in org.goplanit.graph with parameters of type Vertex Constructor Description EdgeImpl(IdGroupingToken groupId, Vertex vertexA, Vertex vertexB)
Constructor which injects link lengths directlyEdgeImpl(IdGroupingToken groupId, Vertex vertexA, Vertex vertexB, double lengthKm)
Constructor which injects link lengths directly -
Uses of Vertex in org.goplanit.graph.directed
Classes in org.goplanit.graph.directed that implement Vertex Modifier and Type Class Description class
DirectedVertexImpl
vertex representation connected to one or more entry and exit edges -
Uses of Vertex in org.goplanit.graph.modifier
Methods in org.goplanit.graph.modifier that return types with arguments of type Vertex Modifier and Type Method Description protected Set<Vertex>
GraphModifierImpl. processSubNetworkVertex(Vertex referenceVertex)
helper function for subnetwork identification (deliberately NOT recursive to avoid stack overflow on large networks)Methods in org.goplanit.graph.modifier with parameters of type Vertex Modifier and Type Method Description <Ex extends Edge>
ExGraphModifierImpl. breakEdgeAt(Vertex vertexToBreakAt, Ex edgeToBreak, PlanitJtsCrsUtils geoUtils)
Break the passed in edge by inserting the passed in vertex in between.<Ex extends Edge>
Map<Long,Set<Ex>>GraphModifierImpl. breakEdgesAt(List<Ex> edgesToBreak, Vertex vertexToBreakAt, org.opengis.referencing.crs.CoordinateReferenceSystem crs)
Break the passed in edges by inserting the passed in vertex in between.protected Set<Vertex>
GraphModifierImpl. processSubNetworkVertex(Vertex referenceVertex)
helper function for subnetwork identification (deliberately NOT recursive to avoid stack overflow on large networks)void
GraphModifierImpl. removeSubGraphOf(Vertex referenceVertex)
remove the (sub)graph in which the passed in vertex resides.protected static void
GraphModifierImpl. updateBrokenEdgeGeometry(Edge brokenEdge, Vertex vertexBrokenAt)
update the geometry of the broken edge, knowing at what vertex it was broken from a previously longer edgeMethod parameters in org.goplanit.graph.modifier with type arguments of type Vertex Modifier and Type Method Description void
GraphModifierImpl. removeSubGraph(Set<? extends Vertex> subGraphToRemove)
remove the subgraph identified by the passed in vertices -
Uses of Vertex in org.goplanit.graph.modifier.event
Methods in org.goplanit.graph.modifier.event that return Vertex Modifier and Type Method Description Vertex
RemoveSubGraphVertexEvent. getRemovedVertex()
The removed vertexVertex
BreakEdgeEvent. getVertexToBreakAt()
Collect vertex to break atConstructors in org.goplanit.graph.modifier.event with parameters of type Vertex Constructor Description BreakEdgeEvent(GraphModifier<?,?> source, Vertex vertexToBreakAt, Edge aToBreak, Edge breakToB)
ConstructorRemoveSubGraphVertexEvent(GraphModifier<?,?> source, Vertex removedVertex)
Constructor -
Uses of Vertex in org.goplanit.io.converter
Methods in org.goplanit.io.converter that return types with arguments of type Vertex Modifier and Type Method Description protected Function<Vertex,String>
PlanitWriterImpl. getVertexIdMapper()
get id mapper for nodes -
Uses of Vertex in org.goplanit.io.geo
Methods in org.goplanit.io.geo with parameters of type Vertex Modifier and Type Method Description double
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.goplanit.network.layer.physical
Classes in org.goplanit.network.layer.physical that implement Vertex Modifier and Type Class Description class
NodeImpl
Node representation connected to one or more entry and exit links -
Uses of Vertex in org.goplanit.network.layer.service
Classes in org.goplanit.network.layer.service that implement Vertex Modifier and Type Class Description class
ServiceNodeImpl
A ServiceNode is used in a ServiceNetwork where it holds a reference to a DirectedNode of the ServiceNetworkLayer's underlying physical network layer. -
Uses of Vertex in org.goplanit.output.adapter
Methods in org.goplanit.output.adapter with parameters of type Vertex Modifier and Type Method Description static Optional<String>
UntypedLinkOutputTypeAdapter. getVertexLocationAsString(Vertex vertex)
collect location as string representation from vertex -
Uses of Vertex in org.goplanit.utils.geo
Methods in org.goplanit.utils.geo with parameters of type Vertex Modifier and Type Method Description double
PlanitJtsCrsUtils. 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 instancestatic boolean
PlanitGraphGeoUtils. isVertexNearBoundingBox(Vertex node, org.locationtech.jts.geom.Envelope boundingBox, double maxDistanceMeters, PlanitJtsCrsUtils geoUtils)
Verify if node is within maximum distance of provided bounding box -
Uses of Vertex in org.goplanit.utils.graph
Classes in org.goplanit.utils.graph with type parameters of type Vertex Modifier and Type Interface Description interface
Graph<V extends Vertex,E extends Edge>
Interface for a graph with explicit container types rather than the base containers.interface
UntypedGraph<V extends Vertex,E extends Edge>
A graph interface consisting of vertices and edges without specifying a concrete container type to access them.Fields in org.goplanit.utils.graph with type parameters of type Vertex Modifier and Type Field Description static Class<Vertex>
Vertex. VERTEX_ID_CLASS
id class for generating idsMethods in org.goplanit.utils.graph that return Vertex Modifier and Type Method Description Vertex
Vertex. clone()
Clone the vertexVertex
VertexFactory. createNew()
Create a new vertex (without registering on this class)Vertex
Edge. getVertexA()
Vertex A of the edgeVertex
Edge. getVertexB()
Vertex B of the edgeVertex
VertexFactory. registerNew()
Create and register new entityMethods in org.goplanit.utils.graph that return types with arguments of type Vertex Modifier and Type Method Description default Class<Vertex>
Vertex. getIdClass()
All vertices use the VERTEX_ID_CLASS to generate the unique internal idsMethods in org.goplanit.utils.graph with parameters of type Vertex Modifier and Type Method Description default Set<Edge>
Vertex. getEdges(Vertex otherVertex)
Collect the edge(s) based on the other vertexdefault boolean
Edge. hasVertex(Vertex vertex)
check if vertex is present on the edgedefault Edge
EdgeFactory. registerNew(Vertex vertexA, Vertex vertexB)
Create new edge to graph identified via its id, (not registered on vertices)Edge
EdgeFactory. registerNew(Vertex vertexA, Vertex vertexB, 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.goplanit.utils.graph.directed
Subinterfaces of Vertex in org.goplanit.utils.graph.directed Modifier and Type Interface Description interface
DirectedVertex
Directed vertex representation connected to one or more edge segments that have direction. -
Uses of Vertex in org.goplanit.utils.graph.modifier
Classes in org.goplanit.utils.graph.modifier with type parameters of type Vertex Modifier and Type Interface Description interface
GraphModifier<V extends Vertex,E extends Edge>
Modify graph elementsMethods in org.goplanit.utils.graph.modifier with parameters of type Vertex Modifier and Type Method Description void
RemoveSubGraphListener. onRemoveSubGraphVertex(Vertex vertex)
callback whenever a vertex is removed from a subgraph it is part ofvoid
RemoveSubGraphListenerImpl. onRemoveSubGraphVertex(Vertex vertex)
callback whenever a vertex is removed from a subgraph it is part of -
Uses of Vertex in org.goplanit.utils.network.layer.physical
Subinterfaces of Vertex in org.goplanit.utils.network.layer.physical Modifier and Type Interface Description interface
Node
Node is a vertex but not all vertices are nodes. -
Uses of Vertex in org.goplanit.utils.network.layer.service
Subinterfaces of Vertex in org.goplanit.utils.network.layer.service Modifier and Type Interface Description interface
ServiceNode
Service node is a vertex but not all vertices are service nodes. -
Uses of Vertex in org.goplanit.utils.path
Method parameters in org.goplanit.utils.path with type arguments of type Vertex Modifier and Type Method Description static String
PathUtils. getNodePathString(DirectedPath path, Function<Vertex,Object> idMapper)
Returns the path as a String of comma-separated node Ids using the id mapper -
Uses of Vertex in org.goplanit.utils.zoning
Subinterfaces of Vertex in org.goplanit.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.goplanit.zoning
Classes in org.goplanit.zoning that implement Vertex Modifier and Type Class Description class
CentroidImpl
Centroid implementation -
Uses of Vertex in org.goplanit.zoning.modifier.event.handler
Methods in org.goplanit.zoning.modifier.event.handler with parameters of type Vertex Modifier and Type Method Description protected void
UpdateConnectoidsOnVertexRemovalHandler. removeConnectoidsWithAccessVertex(Vertex vertex)
Remove connectoids for the given access vertex
-