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 VertexDijkstraShortestPathAlgorithm. currentOriginReference 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 DirectedPathMinMaxPathResultImpl. createPath(DirectedPathFactory pathFactory, Vertex origin, Vertex destination)Create the path from the provided origin to a specified destination vertex, using the results available.DirectedPathShortestPathResult. createPath(DirectedPathFactory pathFactory, Vertex origin, Vertex destination)Create the path from the provided origin to a specified destination vertex, using the results available.DirectedPathShortestPathResultImpl. createPath(DirectedPathFactory pathFactory, Vertex origin, Vertex destination)Create the path from the provided origin to a specified destination vertex, using the results available.default intShortestPathResult. forEachBackwardEdgeSegment(Vertex origin, Vertex destination, Consumer<EdgeSegment> backwardEdgeSegmentConsumer)apply consumer to each edge segment on backward path from destination to origin.doubleMinMaxPathResultImpl. getCostToReach(Vertex vertex)Collect the cost to reach the given vertexdoubleShortestPathResult. getCostToReach(Vertex vertex)Collect the cost to reach the given vertexdoubleShortestPathResultImpl. getCostToReach(Vertex vertex)Collect the cost to reach the given vertexEdgeSegmentMinMaxPathResultImpl. getIncomingEdgeSegmentForVertex(Vertex vertex)Find the incoming edge segment for a given vertexEdgeSegmentShortestPathResult. getIncomingEdgeSegmentForVertex(Vertex vertex)Find the incoming edge segment for a given vertexEdgeSegmentShortestPathResultImpl. 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 classGraphImpl<V extends Vertex,E extends Edge>A graph implementation consisting of vertices and edgesclassUntypedGraphImpl<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 classVertexImplVertex representation connected to one or more entry and exit edgesMethods in org.goplanit.graph that return Vertex Modifier and Type Method Description VertexVertexFactoryImpl. createNew()Create a new vertex (without registering on this class)VertexEdgeImpl. getVertexA()Vertex A of the edgeVertexEdgeImpl. getVertexB()Vertex B of the edgeVertexVertexFactoryImpl. registerNew()Create and register new entityMethods in org.goplanit.graph with parameters of type Vertex Modifier and Type Method Description EdgeEdgeFactoryImpl. registerNew(Vertex vertexA, Vertex vertexB, boolean registerOnVertices)Create new edge to network identified via its id, allow to be registered on vertices if indicated)booleanEdgeImpl. removeVertex(Vertex vertex)Remove vertex from edgebooleanEdgeImpl. replace(Vertex vertexToReplace, Vertex vertexToReplaceWith)Replace one of the vertices of the linkprotected voidEdgeImpl. setVertexA(Vertex vertexA)set vertex Aprotected voidEdgeImpl. 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 classDirectedVertexImplvertex 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)voidGraphModifierImpl. removeSubGraphOf(Vertex referenceVertex)remove the (sub)graph in which the passed in vertex resides.protected static voidGraphModifierImpl. 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 voidGraphModifierImpl. 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 VertexRemoveSubGraphVertexEvent. getRemovedVertex()The removed vertexVertexBreakEdgeEvent. 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 doublePlanitOpenGisUtils. 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 classNodeImplNode 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 classServiceNodeImplA 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 doublePlanitJtsCrsUtils. 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 booleanPlanitGraphGeoUtils. 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 interfaceGraph<V extends Vertex,E extends Edge>Interface for a graph with explicit container types rather than the base containers.interfaceUntypedGraph<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_CLASSid class for generating idsMethods in org.goplanit.utils.graph that return Vertex Modifier and Type Method Description VertexVertex. clone()Clone the vertexVertexVertexFactory. createNew()Create a new vertex (without registering on this class)VertexEdge. getVertexA()Vertex A of the edgeVertexEdge. getVertexB()Vertex B of the edgeVertexVertexFactory. 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 booleanEdge. hasVertex(Vertex vertex)check if vertex is present on the edgedefault EdgeEdgeFactory. registerNew(Vertex vertexA, Vertex vertexB)Create new edge to graph identified via its id, (not registered on vertices)EdgeEdgeFactory. registerNew(Vertex vertexA, Vertex vertexB, boolean registerOnVertices)Create new edge to network identified via its id, allow to be registered on vertices if indicated)booleanEdge. removeVertex(Vertex vertex)Remove vertex from edgebooleanEdge. 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 interfaceDirectedVertexDirected 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 interfaceGraphModifier<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 voidRemoveSubGraphListener. onRemoveSubGraphVertex(Vertex vertex)callback whenever a vertex is removed from a subgraph it is part ofvoidRemoveSubGraphListenerImpl. 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 interfaceNodeNode 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 interfaceServiceNodeService 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 StringPathUtils. 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 interfaceCentroidA 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 classCentroidImplCentroid 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 voidUpdateConnectoidsOnVertexRemovalHandler. removeConnectoidsWithAccessVertex(Vertex vertex)Remove connectoids for the given access vertex
-