Uses of Interface
org.goplanit.utils.network.layer.physical.Node
-
Packages that use Node Package Description org.goplanit.algorithms.nodemodel Node model algorithms for PlanItorg.goplanit.converter.zoning org.goplanit.geoio.converter.network.featurecontext org.goplanit.gtfs.util 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.osm.converter.network org.goplanit.osm.util org.goplanit.utils.network.layer.macroscopic org.goplanit.utils.network.layer.physical org.goplanit.utils.network.layer.service org.goplanit.utils.zoning zoning oriented utility classesorg.goplanit.zoning -
-
Uses of Node in org.goplanit.algorithms.nodemodel
Constructors in org.goplanit.algorithms.nodemodel with parameters of type Node Constructor Description TampereNodeModelFixedInput(Node node, boolean initialiseReceivingFlowsAtCapacity)Constructor. -
Uses of Node in org.goplanit.converter.zoning
Methods in org.goplanit.converter.zoning with parameters of type Node Modifier and Type Method Description static Collection<DirectedConnectoid>ZoningConverterUtils. createAndRegisterDirectedConnectoids(Zoning zoning, TransferZone transferZone, Node accessNode, Iterable<? extends MacroscopicLinkSegment> linkSegments, Set<Mode> allowedModes)create directed connectoids, one per link segment provided, all related to the given transfer zone and with access modes provided.static Collection<LinkSegment>ZoningConverterUtils. findAccessEntryLinkSegmentsForWaitingArea(String waitingAreaSourceId, org.locationtech.jts.geom.Geometry waitingAreaGeometry, MacroscopicLink accessLink, String accessLinkSourceId, Node node, Mode accessMode, String countryName, boolean mustAvoidCrossingTraffic, Function<String,String> getOverwrittenAccessLinkSourceIdForWaitingAreaSourceId, Function<Node,String> getOverwrittenWaitingAreaSourceId, PlanitJtsCrsUtils geoUtils)Find the link segments that are accessible for the given access link, node, mode combination taking into account the relative location of the transfer zone if needed and mode compatibility.static booleanZoningConverterUtils. hasWaitingAreaPotentialAccessLinkSegmentForLinkNodeModeCombination(String waitingAreaSourceId, org.locationtech.jts.geom.Geometry waitingAreaGeometry, MacroscopicLink accessLink, String accessLinkSourceId, Node accessNode, Mode accessMode, Function<Node,String> getOverwrittenWaitingAreaSourceId, Function<String,String> getOverwrittenAccessLinkSourceIdForWaitingAreaSourceId, String countryName, PlanitJtsCrsUtils geoUtils)Verify if any valid access link segments exist for the given combination of link, one of its extreme nodes, and the access mode, taking into account any explicit overwrites that may exist that are not bounded by any limitations on compatibility.static booleanZoningConverterUtils. isPotentialAccessEntryLinkSegmentForWaitingArea(String waitingAreaSourceId, org.locationtech.jts.geom.Geometry waitingAreaGeometry, MacroscopicLinkSegment accessLinkSegment, String accessLinkSourceId, Node accessNode, Mode accessMode, Function<Node,String> getOverwrittenWaitingAreaSourceId, Function<String,String> getOverwrittenAccessLinkSourceIdForWaitingAreaSourceId, String countryName, PlanitJtsCrsUtils geoUtils)Verify if given link segment is potentially viable as access link segment for the given extreme node and access mode, taking into account any explicit overwrites that may exist that are not bounded by any limitations on compatibility.Method parameters in org.goplanit.converter.zoning with type arguments of type Node Modifier and Type Method Description static org.locationtech.jts.geom.PointZoningConverterUtils. findConnectoidLocationForWaitingAreaOnLink(String waitingAreaSourceId, org.locationtech.jts.geom.Geometry waitingAreaGeometry, MacroscopicLink accessLink, String accessLinkSourceId, Mode accessMode, double maxAllowedDistanceMeters, Function<Node,String> getOverwrittenWaitingAreaSourceIdForNode, Function<org.locationtech.jts.geom.Point,String> getOverwrittenWaitingAreaSourceIdForPoint, Function<String,String> getOverwrittenAccessLinkSourceIdForWaitingAreaSourceId, String countryName, PlanitJtsCrsUtils geoUtils)Deprecated.static org.locationtech.jts.geom.PointZoningConverterUtils. findConnectoidLocationForWaitingAreaOnLinkSegment(String waitingAreaSourceId, org.locationtech.jts.geom.Geometry waitingAreaGeometry, MacroscopicLinkSegment accessLinkSegment, String accessLinkSourceId, Mode accessMode, double maxAllowedDistanceMeters, Function<Node,String> getOverwrittenWaitingAreaSourceIdForNode, Function<org.locationtech.jts.geom.Point,String> getOverwrittenWaitingAreaSourceIdForPoint, Function<String,String> getOverwrittenAccessLinkSourceIdForWaitingAreaSourceId, String countryName, PlanitJtsCrsUtils geoUtils)find a suitable connectoid location on the given link based on the constraints that it must be able to reside on a link segment that is in the correct relative position to the transfer zone and supports the access mode on at least one of the designated link segment(s) that is eligible (if any).static booleanZoningConverterUtils. hasWaitingAreaPotentialAccessLinkSegmentForLinkNodeModeCombination(String waitingAreaSourceId, org.locationtech.jts.geom.Geometry waitingAreaGeometry, MacroscopicLink accessLink, String accessLinkSourceId, Node accessNode, Mode accessMode, Function<Node,String> getOverwrittenWaitingAreaSourceId, Function<String,String> getOverwrittenAccessLinkSourceIdForWaitingAreaSourceId, String countryName, PlanitJtsCrsUtils geoUtils)Verify if any valid access link segments exist for the given combination of link, one of its extreme nodes, and the access mode, taking into account any explicit overwrites that may exist that are not bounded by any limitations on compatibility.static booleanZoningConverterUtils. isPotentialAccessEntryLinkSegmentForWaitingArea(String waitingAreaSourceId, org.locationtech.jts.geom.Geometry waitingAreaGeometry, MacroscopicLinkSegment accessLinkSegment, String accessLinkSourceId, Node accessNode, Mode accessMode, Function<Node,String> getOverwrittenWaitingAreaSourceId, Function<String,String> getOverwrittenAccessLinkSourceIdForWaitingAreaSourceId, String countryName, PlanitJtsCrsUtils geoUtils)Verify if given link segment is potentially viable as access link segment for the given extreme node and access mode, taking into account any explicit overwrites that may exist that are not bounded by any limitations on compatibility. -
Uses of Node in org.goplanit.geoio.converter.network.featurecontext
Constructor parameters in org.goplanit.geoio.converter.network.featurecontext with type arguments of type Node Constructor Description PlanitNodeFeatureTypeContext(Function<Node,String> nodeIdMapper)Constructor -
Uses of Node in org.goplanit.gtfs.util
Methods in org.goplanit.gtfs.util that return types with arguments of type Node Modifier and Type Method Description static Pair<Node,Boolean>GtfsLinkHelper. extractNodeByLinkGeometryLocation(org.locationtech.jts.geom.Point gtfsStopNodeLocation, MacroscopicLink referenceLink, MacroscopicNetworkLayer networkLayer, GtfsZoningHandlerData data)Extract/create a PLANit node based on the given location.Methods in org.goplanit.gtfs.util with parameters of type Node Modifier and Type Method Description static voidGtfsLinkHelper. breakLinksAtPlanitNode(Node planitNode, MacroscopicNetworkLayer networkLayer, MacroscopicLink linkToBreak, Collection<GraphModifierListener> temporaryListeners, GtfsZoningHandlerData data)break a PLANit link at the PLANit node location while also updating all related tracking indices and/or PLANit network link and link segment references that might be affected by this process: tracking of geo indexed PLANit links connectoid access link segments affected by breaking of link (if any)static Collection<DirectedConnectoid>GtfsDirectedConnectoidHelper. createAndRegisterDirectedConnectoids(TransferZone transferZone, MacroscopicNetworkLayer networkLayer, Node accessNode, Iterable<? extends EdgeSegment> linkSegments, Set<Mode> allowedModes, GtfsZoningHandlerData data)create directed connectoids, one per link segment provided, all related to the given transfer zone and with access modes provided. -
Uses of Node in org.goplanit.network.layer.macroscopic
Methods in org.goplanit.network.layer.macroscopic that return types with arguments of type Node Modifier and Type Method Description MacroscopicLinkImpl<Node,MacroscopicLinkSegment>MacroscopicLinkFactoryImpl. registerNew(Node nodeA, Node nodeB, double lengthKm, boolean registerOnNodes)Create new macroscopic link on container, allow to be registered on nodes if indicated)Methods in org.goplanit.network.layer.macroscopic with parameters of type Node Modifier and Type Method Description MacroscopicLinkImpl<Node,MacroscopicLinkSegment>MacroscopicLinkFactoryImpl. registerNew(Node nodeA, Node nodeB, double lengthKm, boolean registerOnNodes)Create new macroscopic link on container, allow to be registered on nodes if indicated)Constructor parameters in org.goplanit.network.layer.macroscopic with type arguments of type Node Constructor Description MacroscopicNetworkLayerImpl(MacroscopicNetworkLayerImpl other, boolean deepCopy, GraphEntityDeepCopyMapper<Node> nodeMapper, GraphEntityDeepCopyMapper<MacroscopicLink> linkMapper, GraphEntityDeepCopyMapper<MacroscopicLinkSegment> linkSegmentMapper, ManagedIdDeepCopyMapper<MacroscopicLinkSegmentType> linkSegmentTypeMapper)Copy constructor -
Uses of Node in org.goplanit.network.layer.physical
Classes in org.goplanit.network.layer.physical with type parameters of type Node Modifier and Type Class Description classUntypedPhysicalLayerImpl<N extends Node,L extends Link,LS extends LinkSegment>Model free Network consisting of managed nodes, links, and link segments, each of which can be iterated over.Classes in org.goplanit.network.layer.physical that implement Node Modifier and Type Class Description classNodeImpl<LS extends EdgeSegment>Node representation connected to one or more entry and exit linksMethods in org.goplanit.network.layer.physical that return Node Modifier and Type Method Description NodeNodeFactoryImpl. createNew()Create a new node (without registering)NodeLinkSegmentBase. getDownstreamVertex()Get the segment's downstream vertexNodeLinkSegmentBase. getUpstreamVertex()Get the segment's upstream vertexNodeNodeFactoryImpl. registerNew()Create and register new nodeNodeNodeFactoryImpl. registerNew(org.locationtech.jts.geom.Point position, boolean syncXmlIdToId)Register a new node and set its geometry and potentially sync its XML id to the underlying internal idMethods in org.goplanit.network.layer.physical that return types with arguments of type Node Modifier and Type Method Description LinkImpl<Node,LinkSegment>LinkFactoryImpl. registerNew(Node nodeA, Node nodeB, double lengthKm, boolean registerOnNodes)Create new link on links container, allow to be registered on nodes if indicated)Methods in org.goplanit.network.layer.physical with parameters of type Node Modifier and Type Method Description LinkImpl<Node,LinkSegment>LinkFactoryImpl. registerNew(Node nodeA, Node nodeB, double lengthKm, boolean registerOnNodes)Create new link on links container, allow to be registered on nodes if indicated)Method parameters in org.goplanit.network.layer.physical with type arguments of type Node Modifier and Type Method Description NodesImplNodesImpl. deepCloneWithMapping(BiConsumer<Node,Node> mapper)Deep clone implementation where the mapping for its internal copies is captured by the provided mapperNodesImplNodesImpl. deepCloneWithMapping(BiConsumer<Node,Node> mapper)Deep clone implementation where the mapping for its internal copies is captured by the provided mapperConstructor parameters in org.goplanit.network.layer.physical with type arguments of type Node Constructor Description NodesImpl(NodesImpl other, boolean deepCopy, BiConsumer<Node,Node> mapper)Copy constructor, also creates new factory with this as its underlying containerNodesImpl(NodesImpl other, boolean deepCopy, BiConsumer<Node,Node> mapper)Copy constructor, also creates new factory with this as its underlying container -
Uses of Node in org.goplanit.network.layer.service
Methods in org.goplanit.network.layer.service that return types with arguments of type Node Modifier and Type Method Description protected Stream<Node>ServiceNodeImpl. getEntrySegmentsDownstreamPhysicalNodeStream()Collect stream of downstream physical nodes of attached entry service leg segments (if any)protected Stream<Node>ServiceNodeImpl. getExitSegmentsUpstreamPhysicalNodeStream()Collect stream of upstream physical nodes of attached exit service leg segments (if any)Set<Node>ServiceNodeImpl. getPhysicalParentNodes()Collect the physical nodes at the extremities of all underlying physical link segments.Methods in org.goplanit.network.layer.service with parameters of type Node Modifier and Type Method Description booleanServiceNodeImpl. isMappedToPhysicalParentNode(Node physicalParentNode)Verify if provided node is registered as a physical parent node of this service node -
Uses of Node in org.goplanit.osm.converter.network
Fields in org.goplanit.osm.converter.network with type parameters of type Node Modifier and Type Field Description protected Map<org.locationtech.jts.geom.Point,Pair<Node,de.topobyte.osm4j.core.model.iface.OsmNode>>OsmNetworkReaderLayerData. planitNodesByLocationtrack the PLANit nodes created on this layer by their location (which reflects either an OSM node, or an auto-generated stop_location, not related to an osm node in the latter case, no osm node is available) so they can be collected when needed, for example when breaking planit linksMethods in org.goplanit.osm.converter.network that return Node Modifier and Type Method Description NodeOsmNetworkReaderLayerData. getPlanitNodeByLocation(org.locationtech.jts.geom.Point location)Collect the PLANit node available for the given locationNodeOsmNetworkReaderLayerData. getPlanitNodeByOsmNode(de.topobyte.osm4j.core.model.iface.OsmNode osmNode)Collect the PLANit node available for this osm node (if any)Methods in org.goplanit.osm.converter.network that return types with arguments of type Node Modifier and Type Method Description Map<org.locationtech.jts.geom.Point,Pair<Node,de.topobyte.osm4j.core.model.iface.OsmNode>>OsmNetworkReaderLayerData. getCreatedPlanitNodesByLocation()provide read access to the registered PLANit nodes (and original OSM node if any was used) by locationMethods in org.goplanit.osm.converter.network with parameters of type Node Modifier and Type Method Description protected booleanOsmNetworkLayerParser. breakLinksWithInternalNode(Node thePlanitNode)whenever we find that internal nodes are used by more than one link OR a node is an extreme node on an existing link but also an internal link on another node, we break the links where this node is internal.voidOsmNetworkReaderLayerData. registerPlanitNodeByLocation(org.locationtech.jts.geom.Point location, Node planitNode)register a PLANit node based on a location only, instead of based on an OSM nodevoidOsmNetworkReaderLayerData. registerPlanitNodeByOsmNode(de.topobyte.osm4j.core.model.iface.OsmNode osmNode, Node planitNode)Register a PLANit node based on an OSM node for this layer -
Uses of Node in org.goplanit.osm.util
Methods in org.goplanit.osm.util that return Node Modifier and Type Method Description static NodePlanitNetworkLayerUtils. createAndPopulateNode(de.topobyte.osm4j.core.model.iface.OsmNode osmNode, MacroscopicNetworkLayer networkLayer)Extract a PLANit node from the osmNode informationstatic NodePlanitNetworkLayerUtils. createPopulateAndRegisterNode(de.topobyte.osm4j.core.model.iface.OsmNode osmNode, MacroscopicNetworkLayer networkLayer, OsmNetworkReaderLayerData layerData)Extract a PLANit node from the osmNode information and register it on the provided layerstatic NodePlanitNetworkLayerUtils. createPopulateAndRegisterNode(org.locationtech.jts.geom.Point osmNodeLocation, MacroscopicNetworkLayer networkLayer, OsmNetworkReaderLayerData layerData)Extract a PLANit node from the location information and register it on the provided layerMethods in org.goplanit.osm.util with parameters of type Node Modifier and Type Method Description static MacroscopicLinkPlanitNetworkLayerUtils. createPopulateAndRegisterLink(Node nodeA, Node nodeB, org.locationtech.jts.geom.LineString geometry, MacroscopicNetworkLayer layer, String externalId, String name, PlanitJtsCrsUtils geoUtils)Default way to create a link (and register it on its nodes) in OSM -
Uses of Node in org.goplanit.utils.network.layer.macroscopic
Methods in org.goplanit.utils.network.layer.macroscopic that return Node Modifier and Type Method Description NodeMacroscopicLinkSegment. getDownstreamVertex()Get the segment's downstream vertexNodeMacroscopicLinkSegment. getUpstreamVertex()Get the segment's upstream vertexMethods in org.goplanit.utils.network.layer.macroscopic with parameters of type Node Modifier and Type Method Description MacroscopicLinkMacroscopicLinkFactory. registerNew(Node nodeA, Node nodeB, double lengthKm, boolean registerOnNodes)Create new macroscopic link on container, allow to be registered on nodes if indicated) -
Uses of Node in org.goplanit.utils.network.layer.physical
Classes in org.goplanit.utils.network.layer.physical with type parameters of type Node Modifier and Type Interface Description interfaceUntypedPhysicalLayer<N extends Node,L extends Link,LS extends LinkSegment>Physical topological Network consisting of nodes, links and link segmentsFields in org.goplanit.utils.network.layer.physical with type parameters of type Node Modifier and Type Field Description static Class<Node>Node. NODE_ID_CLASSid class for generating idsMethods in org.goplanit.utils.network.layer.physical with type parameters of type Node Modifier and Type Method Description default <N extends Node>
NLink. getNodeA()collect vertex A as something extending node which is to be expected for any link.default <N extends Node>
NLink. getNodeB()collect vertex A as something extending node which is to be expected for any link.Methods in org.goplanit.utils.network.layer.physical that return Node Modifier and Type Method Description NodeNodeFactory. createNew()Create a new node (without registering)default NodeNodeFactory. createNew(org.locationtech.jts.geom.Point position, boolean syncXmlIdToId)Create a new node (without registering) and set its gemoetry and potentially sync its XML id to the underlying internal idNodeNode. deepClone()Deep clonedefault NodeLinkSegment. getDownstreamNode()Collect downstream vertex as nodeNodeLinkSegment. getDownstreamVertex()Get the segment's downstream vertexdefault NodeLinkSegment. getUpstreamNode()Collect upstream vertex as nodeNodeLinkSegment. getUpstreamVertex()Get the segment's upstream vertexNodeNodeFactory. registerNew()Create and register new nodeNodeNodeFactory. registerNew(org.locationtech.jts.geom.Point position, boolean syncXmlIdToId)Register a new node and set its geometry and potentially sync its XML id to the underlying internal idNodeNode. shallowClone()Shallow cloneMethods in org.goplanit.utils.network.layer.physical that return types with arguments of type Node Modifier and Type Method Description default Class<? extends Node>Node. getNodeIdClass()Return class used to generate unique link ids via the id generatorMethods in org.goplanit.utils.network.layer.physical with parameters of type Node Modifier and Type Method Description default <LS extends EdgeSegment>
LSNode. getLinkSegment(Node endNode)collect the first edge segment corresponding to the provided end nodedefault booleanLinkSegment. hasNode(Node node)Verify if node matches any extreme node of link segmentdefault booleanLinkSegment. isDownstreamNode(Node node)Verify if downstream node matches given nodedefault booleanLinkSegment. isUpstreamNode(Node node)Verify if upstream node matches given nodeLinkLinkFactory. registerNew(Node nodeA, Node nodeB, double lengthKm, boolean registerOnNodes)Create new link on links container, allow to be registered on nodes if indicated)Method parameters in org.goplanit.utils.network.layer.physical with type arguments of type Node Modifier and Type Method Description NodesNodes. deepCloneWithMapping(BiConsumer<Node,Node> mapper)Deep clone implementation with mapping retained between original and copies createdNodesNodes. deepCloneWithMapping(BiConsumer<Node,Node> mapper)Deep clone implementation with mapping retained between original and copies created -
Uses of Node in org.goplanit.utils.network.layer.service
Methods in org.goplanit.utils.network.layer.service that return types with arguments of type Node Modifier and Type Method Description Collection<Node>ServiceNode. getPhysicalParentNodes()Provide access to the underlying network node(s)Methods in org.goplanit.utils.network.layer.service with parameters of type Node Modifier and Type Method Description booleanServiceNode. isMappedToPhysicalParentNode(Node physicalParentNode)Verify if provided node is registered as a physical parent node of this service node -
Uses of Node in org.goplanit.utils.zoning
Methods in org.goplanit.utils.zoning that return Node Modifier and Type Method Description default NodeDirectedConnectoid. getAccessNode()Based on the edge segment and the location (upstream/downstream) of the access point, collect the access nodeMethods in org.goplanit.utils.zoning with parameters of type Node Modifier and Type Method Description UndirectedConnectoidUndirectedConnectoidFactory. registerNew(Node accessNode)factory method for undirected connectoid, with default length of 0 to use between (yet unknown parent) zone and access nodeUndirectedConnectoidUndirectedConnectoidFactory. registerNew(Node accessNode, Zone parentZone)factory method for undirected connectoid, with default length of 0 to use between zone and access nodeUndirectedConnectoidUndirectedConnectoidFactory. registerNew(Node accessNode, Zone parentZone, double length)factory method for undirected connectoid -
Uses of Node in org.goplanit.zoning
Methods in org.goplanit.zoning with parameters of type Node Modifier and Type Method Description UndirectedConnectoidUndirectedConnectoidFactoryImpl. registerNew(Node accessNode)factory method for undirected connectoid, with default length of 0 to use between (yet unknown parent) zone and access nodeUndirectedConnectoidUndirectedConnectoidFactoryImpl. registerNew(Node accessNode, Zone parentZone)factory method for undirected connectoid, with default length of 0 to use between zone and access nodeUndirectedConnectoidUndirectedConnectoidFactoryImpl. registerNew(Node accessNode, Zone parentZone, double length)factory method for undirected connectoid
-