Uses of Interface
org.goplanit.utils.graph.Edge
-
Packages that use Edge Package Description org.goplanit.graph Network component object classesorg.goplanit.graph.directed org.goplanit.graph.modifier org.goplanit.graph.modifier.event org.goplanit.graph.modifier.event.handler org.goplanit.network.layer.macroscopic Macroscopic physical network component object classesorg.goplanit.network.layer.physical Physical network component object classesorg.goplanit.network.layer.service org.goplanit.network.transport Integrated network component object classesorg.goplanit.network.virtual Virtual network component object classesorg.goplanit.osm.util org.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.macroscopic org.goplanit.utils.network.layer.physical org.goplanit.utils.network.layer.service org.goplanit.utils.network.virtual Virtual physical network oriented utility classes -
-
Uses of Edge in org.goplanit.graph
Classes in org.goplanit.graph with type parameters of type Edge 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 edgesclass
VertexImpl<E extends Edge>
Vertex representation connected to one or more entry and exit edgesClasses in org.goplanit.graph that implement Edge Modifier and Type Class Description class
ConjugateEdgeImpl<V extends ConjugateVertex>
ConjugateEdge class connecting two conjugate vertices.class
EdgeImpl<V extends Vertex>
Edge class connecting two vertices via some geometry.Fields in org.goplanit.graph declared as Edge Modifier and Type Field Description protected Edge
ConjugateVertexImpl. originalEdge
original edge this conjugate representsFields in org.goplanit.graph with type parameters of type Edge Modifier and Type Field Description protected Pair<Edge,Edge>
ConjugateEdgeImpl. originalEdges
adjacent original edges represented by this conjugateprotected Pair<Edge,Edge>
ConjugateEdgeImpl. originalEdges
adjacent original edges represented by this conjugateMethods in org.goplanit.graph that return Edge Modifier and Type Method Description Edge
ConjugateVertexImpl. getOriginalEdge()
Collect the original edge this conjugate vertex represents in the conjugate graphEdge
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)Methods in org.goplanit.graph that return types with arguments of type Edge Modifier and Type Method Description Pair<Edge,Edge>
ConjugateEdgeImpl. getOriginalEdges()
Edges in original graph representing this conjugatePair<Edge,Edge>
ConjugateEdgeImpl. getOriginalEdges()
Edges in original graph representing this conjugateMethods in org.goplanit.graph with parameters of type Edge Modifier and Type Method Description boolean
VertexImpl. addEdge(Edge edge)
Add edge, do not invoke when parsing networks, this connection is auto-populated before the assignment starts based on the edge and its two vertices that have been registered.ConjugateVertex
ConjugateVertexFactoryImpl. createNew(Edge originalEdge)
Create a new conjugate vertex (without registering on this class)ConjugateVertex
ConjugateVertexFactoryImpl. registerNew(Edge originalEdge)
Create and register new conjugate vertexMethod parameters in org.goplanit.graph with type arguments of type Edge Modifier and Type Method Description EdgesImpl
EdgesImpl. deepCloneWithMapping(BiConsumer<Edge,Edge> mapper)
Deep clone implementation with mapping retained between original and copies createdEdgesImpl
EdgesImpl. deepCloneWithMapping(BiConsumer<Edge,Edge> mapper)
Deep clone implementation with mapping retained between original and copies createdConstructors in org.goplanit.graph with parameters of type Edge Constructor Description ConjugateEdgeImpl(IdGroupingToken groupId, V vertexA, V vertexB, Edge originalEdge1, Edge originalEdge2)
Constructor which injects link lengths directlyConjugateVertexImpl(IdGroupingToken groupId, Edge originalEdge)
ConstructorConstructor parameters in org.goplanit.graph with type arguments of type Edge Constructor Description EdgesImpl(EdgesImpl edgesImpl, boolean deepCopy, BiConsumer<Edge,Edge> biConsumer)
Copy constructor, also creates a new factory with reference to this containerEdgesImpl(EdgesImpl edgesImpl, boolean deepCopy, BiConsumer<Edge,Edge> biConsumer)
Copy constructor, also creates a new factory with reference to this container -
Uses of Edge in org.goplanit.graph.directed
Classes in org.goplanit.graph.directed that implement Edge Modifier and Type Class Description class
ConjugateDirectedEdgeImpl<V extends ConjugateDirectedVertex,ES extends ConjugateEdgeSegment>
Conjugate Edge implementation class connecting two vertices via some geometry.class
DirectedEdgeImpl<V extends DirectedVertex,ES extends EdgeSegment>
Edge class connecting two vertices via some geometry. -
Uses of Edge in org.goplanit.graph.modifier
Methods in org.goplanit.graph.modifier with type parameters of type Edge 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.Methods in org.goplanit.graph.modifier with parameters of type Edge Modifier and Type Method Description void
GraphModifierImpl. removeEdge(Edge edge)
Remove an edge by removing it from the graph and the vertices 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 edge -
Uses of Edge in org.goplanit.graph.modifier.event
Methods in org.goplanit.graph.modifier.event that return Edge Modifier and Type Method Description Edge
BreakEdgeEvent. getEdgeFromBreakToVertexB()
collect broken edge section from break vertex to original vertex BEdge
BreakEdgeEvent. getEdgeFromVertexAToBreak()
collect broken edge section from original vertex A to break vertexEdge
RemoveSubGraphEdgeEvent. getRemovedEdge()
The removed edgeConstructors in org.goplanit.graph.modifier.event with parameters of type Edge Constructor Description BreakEdgeEvent(GraphModifier<?,?> source, Vertex vertexToBreakAt, Edge aToBreak, Edge breakToB)
ConstructorRemoveSubGraphEdgeEvent(GraphModifier<?,?> source, Edge removedEdge)
Constructor -
Uses of Edge in org.goplanit.graph.modifier.event.handler
Methods in org.goplanit.graph.modifier.event.handler with parameters of type Edge Modifier and Type Method Description protected void
SyncXmlIdToIdBreakEdgeHandler. onBreakEdge(Edge aToBreak, Edge breakToB)
Perform action by syncing XML ids to ids -
Uses of Edge in org.goplanit.network.layer.macroscopic
Classes in org.goplanit.network.layer.macroscopic that implement Edge Modifier and Type Class Description class
MacroscopicLinkImpl<N extends DirectedVertex,LS extends MacroscopicLinkSegment>
Link class connecting two nodes via some geometry. -
Uses of Edge in org.goplanit.network.layer.physical
Classes in org.goplanit.network.layer.physical that implement Edge Modifier and Type Class Description class
ConjugateLinkImpl
Conjugate (non-directional) link class connecting two conjugate nodes.class
LinkImpl<N extends DirectedVertex,LS extends EdgeSegment>
Link class connecting two nodes via some geometry. -
Uses of Edge in org.goplanit.network.layer.service
Classes in org.goplanit.network.layer.service that implement Edge Modifier and Type Class Description class
ServiceLegImpl
A service leg connects two service nodes. -
Uses of Edge in org.goplanit.network.transport
Methods in org.goplanit.network.transport with parameters of type Edge Modifier and Type Method Description protected void
TransportModelNetwork. connectVerticesToEdge(Edge edge)
Add Edge to both verticesprotected void
TransportModelNetwork. disconnectVerticesFromEdge(Edge edge)
Remove Edge from both vertices -
Uses of Edge in org.goplanit.network.virtual
Classes in org.goplanit.network.virtual that implement Edge Modifier and Type Class Description class
ConjugateConnectoidEdgeImpl
Conjugate (non-directional) connectoid edge class connecting two conjugate nodes.class
ConnectoidEdgeImpl
Edge implementation that represent edges that exist between centroids and connectoids (their node reference), so not physical entities but rather virtual links -
Uses of Edge in org.goplanit.osm.util
Methods in org.goplanit.osm.util that return Edge Modifier and Type Method Description static Edge
OsmNodeUtils. findEdgeClosest(de.topobyte.osm4j.core.model.iface.OsmNode osmNode, Collection<? extends Edge> edges, boolean suppressLogging, PlanitJtsCrsUtils geoUtils)
Find the closest link to the node location.static Edge
OsmNodeUtils. findEdgeClosest(de.topobyte.osm4j.core.model.iface.OsmNode osmNode, Collection<? extends Edge> edges, double maxDistanceMeters, boolean suppressLogging, PlanitJtsCrsUtils geoUtils)
Find the closest edge to the node location.static Edge
OsmWayUtils. findEdgeClosest(de.topobyte.osm4j.core.model.iface.OsmWay osmWay, Collection<? extends Edge> edges, double maxDistanceMeters, Map<Long,de.topobyte.osm4j.core.model.iface.OsmNode> osmNodes, boolean suppressLogging, PlanitJtsCrsUtils geoUtils)
find the closest edge to the way from the available edges.static Edge
OsmWayUtils. findEdgeClosest(de.topobyte.osm4j.core.model.iface.OsmWay osmWay, Collection<? extends Edge> edges, Map<Long,de.topobyte.osm4j.core.model.iface.OsmNode> osmNodes, boolean suppressLogging, PlanitJtsCrsUtils geoUtils)
find the closest edge to the way from the available edges.static Edge
PlanitOsmUtils. findEdgeClosest(de.topobyte.osm4j.core.model.iface.OsmEntity osmEntity, Collection<? extends Edge> edges, Map<Long,de.topobyte.osm4j.core.model.iface.OsmNode> osmNodes, boolean suppressLogging, PlanitJtsCrsUtils geoUtils)
find the link closest to the passed in osm EntityMethod parameters in org.goplanit.osm.util with type arguments of type Edge Modifier and Type Method Description static Edge
OsmNodeUtils. findEdgeClosest(de.topobyte.osm4j.core.model.iface.OsmNode osmNode, Collection<? extends Edge> edges, boolean suppressLogging, PlanitJtsCrsUtils geoUtils)
Find the closest link to the node location.static Edge
OsmNodeUtils. findEdgeClosest(de.topobyte.osm4j.core.model.iface.OsmNode osmNode, Collection<? extends Edge> edges, double maxDistanceMeters, boolean suppressLogging, PlanitJtsCrsUtils geoUtils)
Find the closest edge to the node location.static Edge
OsmWayUtils. findEdgeClosest(de.topobyte.osm4j.core.model.iface.OsmWay osmWay, Collection<? extends Edge> edges, double maxDistanceMeters, Map<Long,de.topobyte.osm4j.core.model.iface.OsmNode> osmNodes, boolean suppressLogging, PlanitJtsCrsUtils geoUtils)
find the closest edge to the way from the available edges.static Edge
OsmWayUtils. findEdgeClosest(de.topobyte.osm4j.core.model.iface.OsmWay osmWay, Collection<? extends Edge> edges, Map<Long,de.topobyte.osm4j.core.model.iface.OsmNode> osmNodes, boolean suppressLogging, PlanitJtsCrsUtils geoUtils)
find the closest edge to the way from the available edges.static Edge
PlanitOsmUtils. findEdgeClosest(de.topobyte.osm4j.core.model.iface.OsmEntity osmEntity, Collection<? extends Edge> edges, Map<Long,de.topobyte.osm4j.core.model.iface.OsmNode> osmNodes, boolean suppressLogging, PlanitJtsCrsUtils geoUtils)
find the link closest to the passed in osm Entitystatic String
OsmWayUtils. findMostProminentOsmHighWayType(Set<? extends Edge> edges)
find the most prominent (important) of the edges based on the osm highway type they carrystatic void
OsmWayUtils. removeEdgesWithOsmHighwayTypesLessImportantThan(String osmHighwayType, Set<? extends Edge> edgesToFilter)
Remove all edges with osm way types that are deemed less prominent than the one provided based on the OSM highway tags ordering -
Uses of Edge in org.goplanit.utils.geo
Classes in org.goplanit.utils.geo with type parameters of type Edge Modifier and Type Class Description class
PlanitJtsIntersectEdgeVisitor<T extends Edge>
An item visitor for quadtree spatial index to filter out the edges in a quadtree that truly intersect with the given bounding box provided in the query.Methods in org.goplanit.utils.geo with type parameters of type Edge Modifier and Type Method Description static <T extends Edge>
Map<T,Double>PlanitGraphGeoUtils. findEdgesWithinClosestDistanceDeltaToGeometry(org.locationtech.jts.geom.Geometry geometry, Collection<T> edges, double bufferDistanceMeters, PlanitJtsCrsUtils geoUtils)
Find the edges within the given buffer distance (around shortest distance found) to the passed in geometry using a projection from any existing coordinate on the geometry to the geometry of the link.static <T extends Edge>
Collection<T>GeoContainerUtils. queryEdgeQuadtree(org.locationtech.jts.index.quadtree.Quadtree spatiallyIndexedEdgeTree, org.locationtech.jts.geom.Envelope searchBoundingBox)
Find edges spatially based on the provided bounding box and spatially indexed quadtree containing edges as valuesstatic <T extends Edge>
org.locationtech.jts.index.quadtree.QuadtreeGeoContainerUtils. toGeoIndexed(Collection<? extends GraphEntities<T>> edgesCollection)
Created quadtree based on edge envelopes as spatial index.static <T extends GraphEntities<? extends Edge>>
org.locationtech.jts.index.quadtree.QuadtreeGeoContainerUtils. toGeoIndexed(T edges)
Created quadtree based on edge envelopes as spatial index.Methods in org.goplanit.utils.geo that return Edge Modifier and Type Method Description static Edge
PlanitGraphGeoUtils. findEdgeClosest(org.locationtech.jts.geom.Geometry geometry, Collection<? extends Edge> edges, PlanitJtsCrsUtils geoUtils)
Find the edge closest to the passed in geometry using a projection from any existing coordinate on the geometry to the geometry of the link.static Edge
PlanitGraphGeoUtils. findEdgeClosestToLineString(org.locationtech.jts.geom.LineString lineString, Collection<? extends Edge> edges, PlanitJtsCrsUtils geoUtils)
Find the edge closest to the passed in line string using a projection from any existing coordinate on the line string to the geometry of the link.static Edge
PlanitGraphGeoUtils. findEdgeClosestToPoint(org.locationtech.jts.geom.Point point, Collection<? extends Edge> edges, PlanitJtsCrsUtils geoUtils)
Find the edge closest to the passed in point using a projection from any existing coordinate on the geometry to the geometry of the link.Methods in org.goplanit.utils.geo that return types with arguments of type Edge Modifier and Type Method Description static Pair<? extends Edge,Set<? extends Edge>>
PlanitGraphGeoUtils. findEdgesClosest(org.locationtech.jts.geom.Geometry geometry, Collection<? extends Edge> edges, double marginToClosestMeters, PlanitJtsCrsUtils geoUtils)
Find the edge closest to the passed in geometry as well as all other edges within the provided marging using a projection from any existing coordinate on the geometry to the geometry of the link.static Pair<? extends Edge,Set<? extends Edge>>
PlanitGraphGeoUtils. findEdgesClosest(org.locationtech.jts.geom.Geometry geometry, Collection<? extends Edge> edges, double marginToClosestMeters, PlanitJtsCrsUtils geoUtils)
Find the edge closest to the passed in geometry as well as all other edges within the provided marging using a projection from any existing coordinate on the geometry to the geometry of the link.static Pair<? extends Edge,Set<? extends Edge>>
PlanitGraphGeoUtils. findEdgesClosestToGeometry(org.locationtech.jts.geom.Geometry geometry, Collection<? extends Edge> edges, double bufferDistanceMeters, PlanitJtsCrsUtils geoUtils)
Find the edge closest to the passed in geometry as well as all other edges within the given margin using a projection from any existing coordinate on the geometry to the geometry of the link.static Pair<? extends Edge,Set<? extends Edge>>
PlanitGraphGeoUtils. findEdgesClosestToGeometry(org.locationtech.jts.geom.Geometry geometry, Collection<? extends Edge> edges, double bufferDistanceMeters, PlanitJtsCrsUtils geoUtils)
Find the edge closest to the passed in geometry as well as all other edges within the given margin using a projection from any existing coordinate on the geometry to the geometry of the link.static Pair<? extends Edge,Set<? extends Edge>>
PlanitGraphGeoUtils. findEdgesClosestToLineString(org.locationtech.jts.geom.LineString lineString, Collection<? extends Edge> edges, double bufferDistanceMeters, PlanitJtsCrsUtils geoUtils)
Find the edge closest to the passed in line string using a projection from any existing coordinate on the line string to the geometry of the link.static Pair<? extends Edge,Set<? extends Edge>>
PlanitGraphGeoUtils. findEdgesClosestToLineString(org.locationtech.jts.geom.LineString lineString, Collection<? extends Edge> edges, double bufferDistanceMeters, PlanitJtsCrsUtils geoUtils)
Find the edge closest to the passed in line string using a projection from any existing coordinate on the line string to the geometry of the link.static Pair<? extends Edge,Set<? extends Edge>>
PlanitGraphGeoUtils. findEdgesClosestToPoint(org.locationtech.jts.geom.Point point, Collection<? extends Edge> edges, double bufferDistanceMeters, PlanitJtsCrsUtils geoUtils)
Find the edge closest to the passed in point as well as all other edges within the given margin using a projection from any existing coordinate on the geometry to the geometry of the link.static Pair<? extends Edge,Set<? extends Edge>>
PlanitGraphGeoUtils. findEdgesClosestToPoint(org.locationtech.jts.geom.Point point, Collection<? extends Edge> edges, double bufferDistanceMeters, PlanitJtsCrsUtils geoUtils)
Find the edge closest to the passed in point as well as all other edges within the given margin using a projection from any existing coordinate on the geometry to the geometry of the link.Methods in org.goplanit.utils.geo with parameters of type Edge Modifier and Type Method Description static org.locationtech.jts.linearref.LinearLocation
PlanitEntityGeoUtils. extractClosestProjectedLinearLocationToGeometryFromEdge(org.locationtech.jts.geom.Geometry referenceGeometry, Edge accessEdge, PlanitJtsCrsUtils geoUtils)
Find the linear location reflecting the closest projected location between the transfer zone and link geometries.static double
PlanitEntityGeoUtils. getDistanceToEdge(org.locationtech.jts.geom.Coordinate coord, Edge edge, PlanitJtsCrsUtils geoUtils)
find the distance from the edge to the point.Method parameters in org.goplanit.utils.geo with type arguments of type Edge Modifier and Type Method Description static Edge
PlanitGraphGeoUtils. findEdgeClosest(org.locationtech.jts.geom.Geometry geometry, Collection<? extends Edge> edges, PlanitJtsCrsUtils geoUtils)
Find the edge closest to the passed in geometry using a projection from any existing coordinate on the geometry to the geometry of the link.static Edge
PlanitGraphGeoUtils. findEdgeClosestToLineString(org.locationtech.jts.geom.LineString lineString, Collection<? extends Edge> edges, PlanitJtsCrsUtils geoUtils)
Find the edge closest to the passed in line string using a projection from any existing coordinate on the line string to the geometry of the link.static Edge
PlanitGraphGeoUtils. findEdgeClosestToPoint(org.locationtech.jts.geom.Point point, Collection<? extends Edge> edges, PlanitJtsCrsUtils geoUtils)
Find the edge closest to the passed in point using a projection from any existing coordinate on the geometry to the geometry of the link.static Pair<? extends Edge,Set<? extends Edge>>
PlanitGraphGeoUtils. findEdgesClosest(org.locationtech.jts.geom.Geometry geometry, Collection<? extends Edge> edges, double marginToClosestMeters, PlanitJtsCrsUtils geoUtils)
Find the edge closest to the passed in geometry as well as all other edges within the provided marging using a projection from any existing coordinate on the geometry to the geometry of the link.static Pair<? extends Edge,Set<? extends Edge>>
PlanitGraphGeoUtils. findEdgesClosestToGeometry(org.locationtech.jts.geom.Geometry geometry, Collection<? extends Edge> edges, double bufferDistanceMeters, PlanitJtsCrsUtils geoUtils)
Find the edge closest to the passed in geometry as well as all other edges within the given margin using a projection from any existing coordinate on the geometry to the geometry of the link.static Pair<? extends Edge,Set<? extends Edge>>
PlanitGraphGeoUtils. findEdgesClosestToLineString(org.locationtech.jts.geom.LineString lineString, Collection<? extends Edge> edges, double bufferDistanceMeters, PlanitJtsCrsUtils geoUtils)
Find the edge closest to the passed in line string using a projection from any existing coordinate on the line string to the geometry of the link.static Pair<? extends Edge,Set<? extends Edge>>
PlanitGraphGeoUtils. findEdgesClosestToPoint(org.locationtech.jts.geom.Point point, Collection<? extends Edge> edges, double bufferDistanceMeters, PlanitJtsCrsUtils geoUtils)
Find the edge closest to the passed in point as well as all other edges within the given margin using a projection from any existing coordinate on the geometry to the geometry of the link. -
Uses of Edge in org.goplanit.utils.graph
Classes in org.goplanit.utils.graph with type parameters of type Edge 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 Edge in org.goplanit.utils.graph Modifier and Type Interface Description interface
ConjugateEdge
Conjugate Edge interface connecting two conjugate vertices in a non-directional fashion.Fields in org.goplanit.utils.graph with type parameters of type Edge Modifier and Type Field Description static Class<Edge>
Edge. EDGE_ID_CLASS
id class for generating idsMethods in org.goplanit.utils.graph with type parameters of type Edge 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 Edge Modifier and Type Method Description Edge
Edge. deepClone()
Deep copy, non-owned members are reference copiedEdge
ConjugateVertex. getOriginalEdge()
Collect the original edge this conjugate vertex represents in the conjugate graphdefault 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)Edge
Edge. shallowClone()
Shallow copyMethods in org.goplanit.utils.graph that return types with arguments of type Edge Modifier and Type Method Description Collection<? extends Edge>
Vertex. getEdges()
Returns a collection of Edge objects (unmodifiable)default Set<? extends Edge>
Vertex. getEdges(Vertex otherVertex)
Collect the edge(s) based on the other vertexdefault Class<? extends Edge>
Edge. getIdClass()
All edges use the EDGE_ID_CLASS to generate the unique internal idsPair<Edge,Edge>
ConjugateEdge. getOriginalEdges()
Edges in original graph representing this conjugatePair<Edge,Edge>
ConjugateEdge. getOriginalEdges()
Edges in original graph representing this conjugateMethods in org.goplanit.utils.graph with parameters of type Edge Modifier and Type Method Description boolean
Vertex. addEdge(Edge edge)
Add edge, do not invoke when parsing networks, this connection is auto-populated before the assignment starts based on the edge and its two vertices that have been registered.ConjugateVertex
ConjugateVertexFactory. createNew(Edge originalEdge)
Create a new conjugate vertex (without registering on this class)static Vertex
EdgeUtils. getSharedVertex(Edge edge1, Edge edge2)
Collect shared vertex between two edges if any existsdefault ConjugateEdge
ConjugateEdgeFactory. registerNew(ConjugateVertex vertexA, ConjugateVertex vertexB, Edge originalEdge)
Create new edge to graph identified via its id, (not registered on vertices)ConjugateEdge
ConjugateEdgeFactory. registerNew(ConjugateVertex vertexA, ConjugateVertex vertexB, Edge originalEdge, boolean registerOnVertices)
Create new conjugate edge to network identified via its id, allow to be registered on conjugate vertices if indicated)ConjugateVertex
ConjugateVertexFactory. registerNew(Edge originalEdge)
Create and register new conjugate vertexdefault boolean
Vertex. removeEdge(Edge edge)
Remove edgedefault boolean
Vertex. replace(Edge edgeToReplace, Edge edgeToReplaceWith, boolean forceInsert)
replace one edge with the otherMethod parameters in org.goplanit.utils.graph with type arguments of type Edge Modifier and Type Method Description default void
Vertex. addEdges(Collection<? extends Edge> toBeAdded)
Add multiple edges at the same timeEdges
Edges. deepCloneWithMapping(BiConsumer<Edge,Edge> mapper)
Deep clone implementation with mapping retained between original and copies createdEdges
Edges. deepCloneWithMapping(BiConsumer<Edge,Edge> mapper)
Deep clone implementation with mapping retained between original and copies createddefault void
Vertex. removeEdges(Collection<? extends Edge> toBeRemoved)
Remove provided edges -
Uses of Edge in org.goplanit.utils.graph.directed
Subinterfaces of Edge in org.goplanit.utils.graph.directed Modifier and Type Interface Description interface
ConjugateDirectedEdge
Directed Edge interface connecting two vertices in a directional fashion.interface
DirectedEdge
Directed Edge interface connecting two vertices in a directional fashion. -
Uses of Edge in org.goplanit.utils.graph.modifier
Classes in org.goplanit.utils.graph.modifier with type parameters of type Edge 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 Edge Modifier and Type Method Description void
RemoveSubGraphListener. onRemoveSubGraphEdge(Edge edge)
callback whenever an edge is removed from a subgraph it is part ofvoid
RemoveSubGraphListenerImpl. onRemoveSubGraphEdge(Edge edge)
callback whenever an edge is removed from a subgraph it is part of -
Uses of Edge in org.goplanit.utils.network.layer.macroscopic
Subinterfaces of Edge in org.goplanit.utils.network.layer.macroscopic Modifier and Type Interface Description interface
MacroscopicLink
Macroscopic Link interface which extends the Link interface with additional mode specific functionality -
Uses of Edge in org.goplanit.utils.network.layer.physical
Subinterfaces of Edge in org.goplanit.utils.network.layer.physical Modifier and Type Interface Description interface
ConjugateLink
Conjugate link representing two adjacent directed edges in original network and connecting two conjugated nodesinterface
Link
Link interface which extends the Edge interface with a unique id (not all edges are links) as well as an external idMethods in org.goplanit.utils.network.layer.physical with type parameters of type Edge Modifier and Type Method Description default <L extends Edge>
Collection<L>Node. getLinks()
It is expected that nodes are used in conjunction with links. -
Uses of Edge in org.goplanit.utils.network.layer.service
Subinterfaces of Edge in org.goplanit.utils.network.layer.service Modifier and Type Interface Description interface
ServiceLeg
Service leg interface which extends the Edge interface.Methods in org.goplanit.utils.network.layer.service that return types with arguments of type Edge Modifier and Type Method Description default Collection<? extends Edge>
ServiceNode. getLegs()
Identical toDirectedVertex.getEdges()
-
Uses of Edge in org.goplanit.utils.network.virtual
Subinterfaces of Edge in org.goplanit.utils.network.virtual Modifier and Type Interface Description interface
ConjugateConnectoidEdge
the connecting component between centroid and a first physical node in the network.interface
ConnectoidEdge
the connecting component between centroid and a first physical node in the network.
-