Uses of Interface
org.goplanit.utils.graph.Vertex
-
-
Uses of Vertex in org.goplanit.algorithms.shortest
Methods in org.goplanit.algorithms.shortest with parameters of type Vertex Modifier and Type Method Description doubleMinMaxPathResultImpl. getCostOf(Vertex vertex)Collect the cost to reach the given vertex from the reference starting pointdoubleShortestBushResultGeneralised. getCostOf(Vertex vertex)Collect the cost to reach the given vertex from the reference starting pointdoubleShortestPathResultGeneralised. getCostOf(Vertex vertex)Collect the cost to reach the given vertex from the reference starting pointdoubleShortestResult. getCostOf(Vertex vertex)Collect the cost to reach the given vertex from the reference starting pointEdgeSegmentMinMaxPathResultImpl. getNextEdgeSegmentForVertex(Vertex vertex)Find the next edge segment for a given vertex, depending on the underlying search this can be either in upstream or downstream directionEdgeSegmentShortestPathResult. getNextEdgeSegmentForVertex(Vertex vertex)Find the next edge segment for a given vertex, depending on the underlying search this can be either in upstream or downstream directionEdgeSegmentShortestPathResultGeneralised. getNextEdgeSegmentForVertex(Vertex vertex)Find the next edge segment for a given vertex, depending on the underlying search this can be either in upstream or downstream directionList<EdgeSegment>ShortestBushResult. getNextEdgeSegmentsForVertex(Vertex vertex)Find the next edge segment for a given vertex, depending on the underlying search this can be either in upstream or downstream directionList<EdgeSegment>ShortestBushResultGeneralised. getNextEdgeSegmentsForVertex(Vertex vertex)Find the next edge segment for a given vertex, depending on the underlying search this can be either in upstream or downstream direction -
Uses of Vertex in org.goplanit.converter.idmapping
Methods in org.goplanit.converter.idmapping 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 configurationFunction<Vertex,String>ServiceNetworkIdMapper. getServiceNodeIdMapper()get id mapper for nodesFunction<Vertex,String>NetworkIdMapper. getVertexIdMapper()get id mapper for nodesFunction<Vertex,String>VirtualNetworkIdMapper. getVertexIdMapper()get id mapper for nodes -
Uses of Vertex in org.goplanit.geoio.converter.network.featurecontext
Method parameters in org.goplanit.geoio.converter.network.featurecontext with type arguments of type Vertex Modifier and Type Method Description static PlanitNodeFeatureTypeContextPlanitNodeFeatureTypeContext. create(Function<Vertex,String> nodeIdMapper)Factory method -
Uses of Vertex in org.goplanit.geoio.converter.service.featurecontext
Method parameters in org.goplanit.geoio.converter.service.featurecontext with type arguments of type Vertex Modifier and Type Method Description static PlanitServiceNodeFeatureTypeContextPlanitServiceNodeFeatureTypeContext. create(Function<Vertex,String> serviceNodeIdMapper, Function<Vertex,String> parentNodeIdMapper)Factory method -
Uses of Vertex in org.goplanit.graph
Classes in org.goplanit.graph with type parameters of type Vertex Modifier and Type Class Description classEdgeImpl<V extends Vertex>Edge class connecting two vertices via some geometry.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 classConjugateVertexImplConjugate vertex representation connected to one or more entry and exit conjugate edgesclassVertexImpl<E extends Edge>Vertex 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)VertexVertexFactoryImpl. 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 linkMethod parameters in org.goplanit.graph with type arguments of type Vertex Modifier and Type Method Description VerticesImplVerticesImpl. deepCloneWithMapping(BiConsumer<Vertex,Vertex> mapper)VerticesImplVerticesImpl. deepCloneWithMapping(BiConsumer<Vertex,Vertex> mapper)Constructor parameters in org.goplanit.graph with type arguments of type Vertex Constructor Description VertexImpl(IdGroupingToken groupId, Class<? extends Vertex> vertexIdClass)ConstructorVerticesImpl(VerticesImpl verticesImpl, boolean deepCopy, BiConsumer<Vertex,Vertex> biConsumer)Copy constructor, also creates a new factory with reference to this containerVerticesImpl(VerticesImpl verticesImpl, boolean deepCopy, BiConsumer<Vertex,Vertex> biConsumer)Copy constructor, also creates a new factory with reference to this container -
Uses of Vertex in org.goplanit.graph.directed
Classes in org.goplanit.graph.directed that implement Vertex Modifier and Type Class Description classConjugateDirectedVertexImplConjugate directed vertex representation connected to one or more entry and exit conjugate edgesclassDirectedVertexImpl<E extends EdgeSegment>vertex representation connected to one or more entry and exit edgesConstructor parameters in org.goplanit.graph.directed with type arguments of type Vertex Constructor Description DirectedVertexImpl(IdGroupingToken groupId, Class<? extends Vertex> idClazz)Constructor -
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,Pair<Ex,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.voidGraphModifierImpl. removeVertex(Vertex vertex)Remove a vertex by removing it from the graph and the edges it is connected to.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.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 classConjugateNodeImplConjugate node representation connected to one or more conjugate (entry and exit) conjugate links.classNodeImpl<LS extends EdgeSegment>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 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.network.virtual
Classes in org.goplanit.network.virtual that implement Vertex Modifier and Type Class Description classCentroidVertexImplThe vertex with a direct relation to a centroid (for a given layer)classConjugateConnectoidNodeImplConjugate node representation connected to one or more conjugate (entry and exit) conjugate links. -
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.Subinterfaces of Vertex in org.goplanit.utils.graph Modifier and Type Interface Description interfaceConjugateVertexConjugate vertex representation connected to one or more conjugate edgesFields 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 with type parameters of type Vertex Modifier and Type Method Description static <E extends Edge,V extends Vertex>
voidEdgeUtils. updateEdgeVertices(Iterable<E> edges, Function<V,V> vertexToVertexMapping, boolean replaceMissingMappings)Update the vertices of all edges based on the mapping provided.static <V extends Vertex,E extends Edge>
voidVertexUtils. updateVertexEdges(Iterable<V> vertices, Function<E,E> edgeToEdgeMapping, boolean removeMissingMappings)Update the edges of all vertices based on the mapping provided (if any)Methods in org.goplanit.utils.graph that return Vertex Modifier and Type Method Description VertexVertexFactory. createNew()Create a new vertex (without registering on this class)VertexVertex. deepClone()Deep clonestatic VertexEdgeUtils. getSharedVertex(Edge edge1, Edge edge2)Collect shared vertex between two edges if any existsVertexEdge. getVertexA()Vertex A of the edgeVertexEdge. getVertexB()Vertex B of the edgeVertexVertexFactory. registerNew()Create and register new entityVertexVertex. shallowClone()Shallow cloneMethods in org.goplanit.utils.graph that return types with arguments of type Vertex Modifier and Type Method Description default Class<? extends 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<? extends ConjugateEdge>ConjugateVertex. getEdges(Vertex otherVertex)Collect the edge(s) based on the other vertexdefault Set<? extends 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 booleanEdge. isVertexA(Vertex vertex)Verify if passed in vertex is the same object reference as vertex Adefault 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 linkMethod parameters in org.goplanit.utils.graph with type arguments of type Vertex Modifier and Type Method Description VerticesVertices. deepCloneWithMapping(BiConsumer<Vertex,Vertex> mapper)Deep clone implementation with mapping retained between original and copies createdVerticesVertices. deepCloneWithMapping(BiConsumer<Vertex,Vertex> mapper)Deep clone implementation with mapping retained between original and copies created -
Uses of Vertex in org.goplanit.utils.graph.directed
Subinterfaces of Vertex in org.goplanit.utils.graph.directed Modifier and Type Interface Description interfaceConjugateDirectedVertexConjugate of directed vertex representing an edge segment in "regular" directed graphinterfaceDirectedVertexDirected 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 interfaceConjugateNodeConjugate Node is the conjugate of a normal link.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.network.virtual
Subinterfaces of Vertex in org.goplanit.utils.network.virtual Modifier and Type Interface Description interfaceCentroidVertexCentroid vertex represents manifestation of a centroid on a particular layer, where it materisalises as a vertex in the virtual networkinterfaceConjugateConnectoidNodeConjugate Node is the conjugate of a normal link.Methods in org.goplanit.utils.network.virtual that return Vertex Modifier and Type Method Description default VertexConnectoidEdge. getNonCentroidVertex()Collect the non-centroid vertex attached to the connectoid, which should always exist and only be a single one -
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(ManagedDirectedPath 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.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
-