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 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 edgesclassVertexImpl<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 classConjugateEdgeImpl<V extends ConjugateVertex>ConjugateEdge class connecting two conjugate vertices.classEdgeImpl<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 EdgeConjugateVertexImpl. originalEdgeoriginal edge this conjugate representsFields in org.goplanit.graph with type parameters of type Edge Modifier and Type Field Description protected Pair<Edge,Edge>ConjugateEdgeImpl. originalEdgesadjacent original edges represented by this conjugateprotected Pair<Edge,Edge>ConjugateEdgeImpl. originalEdgesadjacent original edges represented by this conjugateMethods in org.goplanit.graph that return Edge Modifier and Type Method Description EdgeConjugateVertexImpl. getOriginalEdge()Collect the original edge this conjugate vertex represents in the conjugate graphEdgeEdgeFactoryImpl. 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 booleanVertexImpl. 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.ConjugateVertexConjugateVertexFactoryImpl. createNew(Edge originalEdge)Create a new conjugate vertex (without registering on this class)ConjugateVertexConjugateVertexFactoryImpl. 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 EdgesImplEdgesImpl. deepCloneWithMapping(BiConsumer<Edge,Edge> mapper)Deep clone implementation with mapping retained between original and copies createdEdgesImplEdgesImpl. 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 classConjugateDirectedEdgeImpl<V extends ConjugateDirectedVertex,ES extends ConjugateEdgeSegment>Conjugate Edge implementation class connecting two vertices via some geometry.classDirectedEdgeImpl<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 voidGraphModifierImpl. removeEdge(Edge edge)Remove an edge by removing it from the graph and the vertices 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 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 EdgeBreakEdgeEvent. getEdgeFromBreakToVertexB()collect broken edge section from break vertex to original vertex BEdgeBreakEdgeEvent. getEdgeFromVertexAToBreak()collect broken edge section from original vertex A to break vertexEdgeRemoveSubGraphEdgeEvent. 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 voidSyncXmlIdToIdBreakEdgeHandler. 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 classMacroscopicLinkImpl<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 classConjugateLinkImplConjugate (non-directional) link class connecting two conjugate nodes.classLinkImpl<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 classServiceLegImplA 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 voidTransportModelNetwork. connectVerticesToEdge(Edge edge)Add Edge to both verticesprotected voidTransportModelNetwork. 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 classConjugateConnectoidEdgeImplConjugate (non-directional) connectoid edge class connecting two conjugate nodes.classConnectoidEdgeImplEdge 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 EdgeOsmNodeUtils. 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 EdgeOsmNodeUtils. 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 EdgeOsmWayUtils. 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 EdgeOsmWayUtils. 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 EdgePlanitOsmUtils. 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 EdgeOsmNodeUtils. 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 EdgeOsmNodeUtils. 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 EdgeOsmWayUtils. 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 EdgeOsmWayUtils. 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 EdgePlanitOsmUtils. 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 StringOsmWayUtils. findMostProminentOsmHighWayType(Set<? extends Edge> edges)find the most prominent (important) of the edges based on the osm highway type they carrystatic voidOsmWayUtils. 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 classPlanitJtsIntersectEdgeVisitor<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 EdgePlanitGraphGeoUtils. 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 EdgePlanitGraphGeoUtils. 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 EdgePlanitGraphGeoUtils. 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.LinearLocationPlanitEntityGeoUtils. 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 doublePlanitEntityGeoUtils. 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 EdgePlanitGraphGeoUtils. 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 EdgePlanitGraphGeoUtils. 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 EdgePlanitGraphGeoUtils. 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 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 Edge in org.goplanit.utils.graph Modifier and Type Interface Description interfaceConjugateEdgeConjugate 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_CLASSid 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 EdgeEdge. deepClone()Deep copy, non-owned members are reference copiedEdgeConjugateVertex. getOriginalEdge()Collect the original edge this conjugate vertex represents in the conjugate graphdefault 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)EdgeEdge. 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 booleanVertex. 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.ConjugateVertexConjugateVertexFactory. createNew(Edge originalEdge)Create a new conjugate vertex (without registering on this class)static VertexEdgeUtils. getSharedVertex(Edge edge1, Edge edge2)Collect shared vertex between two edges if any existsdefault ConjugateEdgeConjugateEdgeFactory. registerNew(ConjugateVertex vertexA, ConjugateVertex vertexB, Edge originalEdge)Create new edge to graph identified via its id, (not registered on vertices)ConjugateEdgeConjugateEdgeFactory. 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)ConjugateVertexConjugateVertexFactory. registerNew(Edge originalEdge)Create and register new conjugate vertexdefault booleanVertex. removeEdge(Edge edge)Remove edgedefault booleanVertex. 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 voidVertex. addEdges(Collection<? extends Edge> toBeAdded)Add multiple edges at the same timeEdgesEdges. deepCloneWithMapping(BiConsumer<Edge,Edge> mapper)Deep clone implementation with mapping retained between original and copies createdEdgesEdges. deepCloneWithMapping(BiConsumer<Edge,Edge> mapper)Deep clone implementation with mapping retained between original and copies createddefault voidVertex. 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 interfaceConjugateDirectedEdgeDirected Edge interface connecting two vertices in a directional fashion.interfaceDirectedEdgeDirected 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 interfaceGraphModifier<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 voidRemoveSubGraphListener. onRemoveSubGraphEdge(Edge edge)callback whenever an edge is removed from a subgraph it is part ofvoidRemoveSubGraphListenerImpl. 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 interfaceMacroscopicLinkMacroscopic 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 interfaceConjugateLinkConjugate link representing two adjacent directed edges in original network and connecting two conjugated nodesinterfaceLinkLink 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 interfaceServiceLegService 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 interfaceConjugateConnectoidEdgethe connecting component between centroid and a first physical node in the network.interfaceConnectoidEdgethe connecting component between centroid and a first physical node in the network.
-