Uses of Interface
org.goplanit.utils.network.layer.service.ServiceNode
-
-
Uses of ServiceNode in org.goplanit.geoio.converter.service.featurecontext
Constructor parameters in org.goplanit.geoio.converter.service.featurecontext with type arguments of type ServiceNode Constructor Description PlanitServiceNodeFeatureTypeContext(Function<ServiceNode,String> serviceNodeIdMapper, Function<Node,String> parentNodeIdMapper)
Constructor -
Uses of ServiceNode in org.goplanit.gtfs.converter.intermodal
Constructor parameters in org.goplanit.gtfs.converter.intermodal with type arguments of type ServiceNode Constructor Description GtfsServicesAndZoningReaderIntegrator(GtfsIntermodalReaderSettings settings, Zoning zoning, ServiceNetwork serviceNetwork, RoutedServices routedServices, Function<ServiceNode,String> serviceNodeToGtfsStopIdMapping, Function<String,TransferZone> gtfsStopIdToTransferZoneMapping)
Constructor -
Uses of ServiceNode in org.goplanit.gtfs.converter.service
Methods in org.goplanit.gtfs.converter.service that return types with arguments of type ServiceNode Modifier and Type Method Description Function<ServiceNode,String>
GtfsServicesReader. getServiceNodeToGtfsStopIdMapping()
GTFS Services are ingested and lead to PLANit service nodes to be created based on GTFS stop ids.static Function<ServiceNode,String>
GtfsServicesReaderSettings. getServiceNodeToGtfsStopIdMapping()
Provides access to how GTFS STOP IDS can be extracted from service nodes when service nodes are created using these settings -
Uses of ServiceNode in org.goplanit.gtfs.converter.service.handler
Methods in org.goplanit.gtfs.converter.service.handler that return ServiceNode Modifier and Type Method Description ServiceNode
GtfsServicesHandlerData. getServiceNodeByExternalId(String externalId)
Collect routed service by external id indexMethods in org.goplanit.gtfs.converter.service.handler that return types with arguments of type ServiceNode Modifier and Type Method Description static Function<ServiceNode,String>
GtfsServicesHandlerData. getServiceNodeToGtfsStopIdMapping()
GTFS Services are ingested and lead to PLANit service nodes to be created based on GTFS stop ids.Methods in org.goplanit.gtfs.converter.service.handler with parameters of type ServiceNode Modifier and Type Method Description void
GtfsServicesHandlerData. indexByExternalId(ServiceNode planitServiceNode)
Index the service node by its external id (GTFS_STOP_ID) -
Uses of ServiceNode in org.goplanit.gtfs.converter.zoning
Methods in org.goplanit.gtfs.converter.zoning that return types with arguments of type ServiceNode Modifier and Type Method Description Function<ServiceNode,String>
GtfsZoningReaderSettings. getServiceNodeToGtfsStopIdFunction()
Provide the mapping from a PLANit service node in the service network to its GTFS STOP IDMethod parameters in org.goplanit.gtfs.converter.zoning with type arguments of type ServiceNode Modifier and Type Method Description static GtfsZoningReader
GtfsZoningReaderFactory. create(GtfsZoningReaderSettings settings, Zoning zoningToPopulate, ServiceNetwork serviceNetwork, RoutedServices routedServices, Function<ServiceNode,String> serviceNodeToGtfsStopIdMapping)
Create a GTFS zoning reader, where information from an already present service network and routed services is leveraged to improve the quality of the parsing of PT stops, i.e., transfer zones. -
Uses of ServiceNode in org.goplanit.network.layer.modifier
Classes in org.goplanit.network.layer.modifier with type parameters of type ServiceNode Modifier and Type Class Description class
ServiceNetworkLayerModifierImpl<V extends ServiceNode,E extends ServiceLeg,S extends ServiceLegSegment>
Modifier class for service network layer, added functionality for service networks to: remove unmapped service nodes, service legs, and service leg segments -
Uses of ServiceNode in org.goplanit.network.layer.service
Classes in org.goplanit.network.layer.service that implement ServiceNode Modifier and Type Class Description class
ServiceNodeImpl
A ServiceNode is used in a ServiceNetwork where it holds a reference to a DirectedNode of the ServiceNetworkLayer's underlying physical network layer.Methods in org.goplanit.network.layer.service that return ServiceNode Modifier and Type Method Description ServiceNode
ServiceNodeFactoryImpl. registerNew()
Create a new service nodeMethods in org.goplanit.network.layer.service that return types with arguments of type ServiceNode Modifier and Type Method Description ServiceNetworkLayerModifierImpl<ServiceNode,ServiceLeg,ServiceLegSegment>
ServiceNetworkLayerImpl. getLayerModifier()
Provide access to the modifier options for this layerMethods in org.goplanit.network.layer.service with parameters of type ServiceNode Modifier and Type Method Description ServiceLegImpl
ServiceLegFactoryImpl. registerNew(ServiceNode nodeA, ServiceNode nodeB, boolean registerOnNodes)
Create new service leg on containerMethod parameters in org.goplanit.network.layer.service with type arguments of type ServiceNode Modifier and Type Method Description ServiceNodesImpl
ServiceNodesImpl. deepCloneWithMapping(BiConsumer<ServiceNode,ServiceNode> mapper)
Deep clone implementation where the mapping for its internal copies is captured by the provided mapperServiceNodesImpl
ServiceNodesImpl. deepCloneWithMapping(BiConsumer<ServiceNode,ServiceNode> mapper)
Deep clone implementation where the mapping for its internal copies is captured by the provided mapperConstructors in org.goplanit.network.layer.service with parameters of type ServiceNode Constructor Description ServiceLegImpl(IdGroupingToken tokenId, ServiceNode nodeA, ServiceNode nodeB)
Constructor which injects link lengths directlyConstructor parameters in org.goplanit.network.layer.service with type arguments of type ServiceNode Constructor Description ServiceNetworkLayerImpl(ServiceNetworkLayerImpl other, boolean deepCopy, GraphEntityDeepCopyMapper<ServiceNode> nodeMapper, GraphEntityDeepCopyMapper<ServiceLeg> legMapper, GraphEntityDeepCopyMapper<ServiceLegSegment> legSegmentMapper)
Copy constructorServiceNodesImpl(ServiceNodesImpl other, boolean deepCopy, BiConsumer<ServiceNode,ServiceNode> mapper)
Copy constructor, also creates new factory with this as its underlying containerServiceNodesImpl(ServiceNodesImpl other, boolean deepCopy, BiConsumer<ServiceNode,ServiceNode> mapper)
Copy constructor, also creates new factory with this as its underlying container -
Uses of ServiceNode in org.goplanit.service.routed
Methods in org.goplanit.service.routed that return types with arguments of type ServiceNode Modifier and Type Method Description Set<ServiceNode>
RoutedTripFrequencyImpl. getUsedServiceNodes()
Get all used service nodes along the tripSet<ServiceNode>
RoutedTripScheduleImpl. getUsedServiceNodes()
Get all used service nodes along the trip -
Uses of ServiceNode in org.goplanit.utils.network.layer
Methods in org.goplanit.utils.network.layer that return types with arguments of type ServiceNode Modifier and Type Method Description ServiceNetworkLayerModifier<ServiceNode,ServiceLeg,ServiceLegSegment>
ServiceNetworkLayer. getLayerModifier()
Service networks have additional modifier options as per the service network layer modifier -
Uses of ServiceNode in org.goplanit.utils.network.layer.modifier
Classes in org.goplanit.utils.network.layer.modifier with type parameters of type ServiceNode Modifier and Type Interface Description interface
ServiceNetworkLayerModifier<V extends ServiceNode,E extends ServiceLeg,S extends ServiceLegSegment>
Modifier with additional functionality related to modifications to service network layers -
Uses of ServiceNode in org.goplanit.utils.network.layer.service
Methods in org.goplanit.utils.network.layer.service with type parameters of type ServiceNode Modifier and Type Method Description default <N extends ServiceNode>
NServiceLeg. getServiceNodeA()
collect vertex A as something extending service node which is to be expected for any service leg.default <N extends ServiceNode>
NServiceLeg. getServiceNodeB()
collect vertex B as something extending service node which is to be expected for any service leg.Methods in org.goplanit.utils.network.layer.service that return ServiceNode Modifier and Type Method Description ServiceNode
ServiceNodeFactory. createNew()
Create a new service nodeServiceNode
ServiceNode. deepClone()
Deep clonedefault ServiceNode
ServiceLegSegment. getDownstreamServiceNode()
Get the segment's downstream vertexdefault ServiceNode
ServiceLegSegment. getUpstreamServiceNode()
Get the segment's upstream service nodeServiceNode
ServiceNodeFactory. registerNew()
Create a new service nodeServiceNode
ServiceNode. shallowClone()
Shallow cloneMethods in org.goplanit.utils.network.layer.service with parameters of type ServiceNode Modifier and Type Method Description default ServiceLegSegment
ServiceNode. getLegSegment(ServiceNode endNode)
Identical to#getEdgeSegment(DirectedVertex)
default boolean
ServiceNodes. hasServiceNode(ServiceNode serviceNode)
default ServiceLeg
ServiceLegFactory. registerNew(ServiceNode nodeA, ServiceNode nodeB)
Create new service leg on container (not registered on nodes)ServiceLeg
ServiceLegFactory. registerNew(ServiceNode nodeA, ServiceNode nodeB, boolean registerOnNodes)
Create new service leg on containerMethod parameters in org.goplanit.utils.network.layer.service with type arguments of type ServiceNode Modifier and Type Method Description ServiceNodes
ServiceNodes. deepCloneWithMapping(BiConsumer<ServiceNode,ServiceNode> mapper)
Deep clone implementation with mapping retained between original and copies createdServiceNodes
ServiceNodes. deepCloneWithMapping(BiConsumer<ServiceNode,ServiceNode> mapper)
Deep clone implementation with mapping retained between original and copies created -
Uses of ServiceNode in org.goplanit.utils.service.routed
Methods in org.goplanit.utils.service.routed that return types with arguments of type ServiceNode Modifier and Type Method Description default Set<ServiceNode>
RoutedTrips. determineUsedServiceNodes()
Get all used service nodes along all registered trips as a newly created setSet<ServiceNode>
RoutedTrip. getUsedServiceNodes()
Get all used service nodes along the trip
-