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 double
MinMaxPathResultImpl. getCostOf(Vertex vertex)
Collect the cost to reach the given vertex from the reference starting pointdouble
ShortestBushResultGeneralised. getCostOf(Vertex vertex)
Collect the cost to reach the given vertex from the reference starting pointdouble
ShortestPathResultGeneralised. getCostOf(Vertex vertex)
Collect the cost to reach the given vertex from the reference starting pointdouble
ShortestResult. getCostOf(Vertex vertex)
Collect the cost to reach the given vertex from the reference starting pointEdgeSegment
MinMaxPathResultImpl. 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 directionEdgeSegment
ShortestPathResult. 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 directionEdgeSegment
ShortestPathResultGeneralised. 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 PlanitNodeFeatureTypeContext
PlanitNodeFeatureTypeContext. 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 PlanitServiceNodeFeatureTypeContext
PlanitServiceNodeFeatureTypeContext. 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 class
EdgeImpl<V extends Vertex>
Edge class connecting two vertices via some geometry.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
ConjugateVertexImpl
Conjugate vertex representation connected to one or more entry and exit conjugate edgesclass
VertexImpl<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 Vertex
VertexFactoryImpl. createNew()
Create a new vertex (without registering on this class)Vertex
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 linkMethod parameters in org.goplanit.graph with type arguments of type Vertex Modifier and Type Method Description VerticesImpl
VerticesImpl. deepCloneWithMapping(BiConsumer<Vertex,Vertex> mapper)
VerticesImpl
VerticesImpl. 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 class
ConjugateDirectedVertexImpl
Conjugate directed vertex representation connected to one or more entry and exit conjugate edgesclass
DirectedVertexImpl<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)void
GraphModifierImpl. removeSubGraphOf(Vertex referenceVertex)
remove the (sub)graph in which the passed in vertex resides.void
GraphModifierImpl. removeVertex(Vertex vertex)
Remove a vertex by removing it from the graph and the edges it is connected to.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.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
ConjugateNodeImpl
Conjugate node representation connected to one or more conjugate (entry and exit) conjugate links.class
NodeImpl<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 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.network.virtual
Classes in org.goplanit.network.virtual that implement Vertex Modifier and Type Class Description class
CentroidVertexImpl
The vertex with a direct relation to a centroid (for a given layer)class
ConjugateConnectoidNodeImpl
Conjugate 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 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.Subinterfaces of Vertex in org.goplanit.utils.graph Modifier and Type Interface Description interface
ConjugateVertex
Conjugate 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_CLASS
id 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 Vertex
VertexFactory. createNew()
Create a new vertex (without registering on this class)Vertex
Vertex. deepClone()
Deep clonestatic Vertex
EdgeUtils. getSharedVertex(Edge edge1, Edge edge2)
Collect shared vertex between two edges if any existsVertex
Edge. getVertexA()
Vertex A of the edgeVertex
Edge. getVertexB()
Vertex B of the edgeVertex
VertexFactory. registerNew()
Create and register new entityVertex
Vertex. 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 boolean
Edge. hasVertex(Vertex vertex)
check if vertex is present on the edgedefault boolean
Edge. isVertexA(Vertex vertex)
Verify if passed in vertex is the same object reference as vertex Adefault 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 linkMethod parameters in org.goplanit.utils.graph with type arguments of type Vertex Modifier and Type Method Description Vertices
Vertices. deepCloneWithMapping(BiConsumer<Vertex,Vertex> mapper)
Deep clone implementation with mapping retained between original and copies createdVertices
Vertices. 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 interface
ConjugateDirectedVertex
Conjugate of directed vertex representing an edge segment in "regular" directed graphinterface
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
ConjugateNode
Conjugate Node is the conjugate of a normal link.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.network.virtual
Subinterfaces of Vertex in org.goplanit.utils.network.virtual Modifier and Type Interface Description interface
CentroidVertex
Centroid vertex represents manifestation of a centroid on a particular layer, where it materisalises as a vertex in the virtual networkinterface
ConjugateConnectoidNode
Conjugate Node is the conjugate of a normal link.Methods in org.goplanit.utils.network.virtual that return Vertex Modifier and Type Method Description default Vertex
ConnectoidEdge. 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 String
PathUtils. 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 void
UpdateConnectoidsOnVertexRemovalHandler. removeConnectoidsWithAccessVertex(Vertex vertex)
Remove connectoids for the given access vertex
-