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.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.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 edgesClasses in org.goplanit.graph that implement Edge Modifier and Type Class Description classEdgeImplEdge class connecting two vertices via some geometry.Fields in org.goplanit.graph with type parameters of type Edge Modifier and Type Field Description protected Map<Long,Edge>VertexImpl. edgesEdges of this vertexMethods in org.goplanit.graph that return Edge 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)Methods in org.goplanit.graph that return types with arguments of type Edge Modifier and Type Method Description Collection<Edge>VertexImpl. getEdges()Returns a collection of Edge objects (unmodifiable)Methods 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. -
Uses of Edge in org.goplanit.graph.directed
Classes in org.goplanit.graph.directed that implement Edge Modifier and Type Class Description classDirectedEdgeImplEdge 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,Set<Ex>>GraphModifierImpl. breakEdgesAt(List<Ex> edgesToBreak, Vertex vertexToBreakAt, org.opengis.referencing.crs.CoordinateReferenceSystem crs)Break the passed in edges by inserting the passed in vertex in between.Methods in org.goplanit.graph.modifier with parameters of type Edge Modifier and Type Method Description 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.physical
Classes in org.goplanit.network.layer.physical that implement Edge Modifier and Type Class Description classLinkImplLink 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 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, double maxDistanceMeters, PlanitJtsCrsUtils geoUtils)Find the closest edge to the node location.static EdgeOsmNodeUtils. findEdgeClosest(de.topobyte.osm4j.core.model.iface.OsmNode osmNode, Collection<? extends Edge> edges, PlanitJtsCrsUtils geoUtils)Find the closest link 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, 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, 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, PlanitJtsCrsUtils geoUtils)find the link closest to the passed in osm EntityMethods in org.goplanit.osm.util with parameters of type Edge Modifier and Type Method Description static org.locationtech.jts.linearref.LinearLocationPlanitTransferZoneUtils. extractClosestProjectedLinearLocationOnEdgeForTransferZone(TransferZone transferZone, Edge accessEdge, PlanitJtsCrsUtils geoUtils)Find the linear location reflecting the closest projected location between the transfer zone and link geometries.Method 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, double maxDistanceMeters, PlanitJtsCrsUtils geoUtils)Find the closest edge to the node location.static EdgeOsmNodeUtils. findEdgeClosest(de.topobyte.osm4j.core.model.iface.OsmNode osmNode, Collection<? extends Edge> edges, PlanitJtsCrsUtils geoUtils)Find the closest link 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, 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, 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, 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>
org.locationtech.jts.index.quadtree.QuadtreePlanitGraphGeoUtils. createSpatiallyIndexedPlanitEdges(Collection<? extends GraphEntities<T>> edgesCollection)Created quadtree based on edge envelopes as spatial index.static <T extends Edge>
Collection<T>PlanitGraphGeoUtils. findEdgesSpatially(org.locationtech.jts.geom.Envelope searchBoundingBox, org.locationtech.jts.index.quadtree.Quadtree spatiallyIndexedEdgeTree)Find edges spatially based on the provided bounding box and spatially indexed quadtree containing edges as valuesMethods 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.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.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 that return Edge Modifier and Type Method Description EdgeEdge. clone()Clone the edge as is, all shared members are shallow copied, fully owned members are deep copieddefault 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)Methods in org.goplanit.utils.graph that return types with arguments of type Edge Modifier and Type Method Description Collection<Edge>Vertex. getEdges()Returns a collection of Edge objects (unmodifiable)default Set<Edge>Vertex. getEdges(Vertex otherVertex)Collect the edge(s) based on the other vertexdefault Class<Edge>Edge. getIdClass()All edges use the EDGE_ID_CLASS to generate the unique internal idsMethods 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.default booleanVertex. removeEdge(Edge edge)Remove edgedefault booleanVertex. replace(Edge edgeToReplace, Edge edgeToReplaceWith, boolean forceInsert)replace one edge with the other -
Uses of Edge in org.goplanit.utils.graph.directed
Subinterfaces of Edge in org.goplanit.utils.graph.directed Modifier and Type Interface Description 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.physical
Subinterfaces of Edge in org.goplanit.utils.network.layer.physical Modifier and Type Interface Description interfaceLinkLink 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 toVertex.getEdges() -
Uses of Edge in org.goplanit.utils.network.virtual
Subinterfaces of Edge in org.goplanit.utils.network.virtual Modifier and Type Interface Description interfaceConnectoidEdgethe connecting component between centroid and a first physical node in the network.
-