Uses of Interface
org.goplanit.utils.network.layer.service.ServiceLeg
-
-
Uses of ServiceLeg in org.goplanit.converter.idmapping
Methods in org.goplanit.converter.idmapping that return types with arguments of type ServiceLeg Modifier and Type Method Description static Function<ServiceLeg,String>
IdMapperFunctionFactory. createServiceLegIdMappingFunction(IdMapperType idMapper)
create a function that takes a service leg and generates the appropriate id based on the user configurationFunction<ServiceLeg,String>
ServiceNetworkIdMapper. getServiceLegIdMapper()
get id mapper for ServiceLeg instances -
Uses of ServiceLeg in org.goplanit.geoio.converter.service.featurecontext
Method parameters in org.goplanit.geoio.converter.service.featurecontext with type arguments of type ServiceLeg Modifier and Type Method Description static PlanitServiceLegFeatureTypeContext
PlanitServiceLegFeatureTypeContext. create(Function<ServiceLeg,String> legIdMapper, Function<Vertex,String> serviceNodeIdMapper)
Factory methodConstructor parameters in org.goplanit.geoio.converter.service.featurecontext with type arguments of type ServiceLeg Constructor Description PlanitServiceLegFeatureTypeContext(Function<ServiceLeg,String> legIdMapper, Function<ServiceNode,String> serviceNodeIdMapper)
Constructor -
Uses of ServiceLeg in org.goplanit.gtfs.converter.intermodal
Methods in org.goplanit.gtfs.converter.intermodal with parameters of type ServiceLeg Modifier and Type Method Description Mode
GtfsServicesAndZoningIntegratorData. getExpectedModeForServiceLeg(ServiceLeg serviceLeg)
Determine the expected mode to be used for a given service leg -
Uses of ServiceLeg in org.goplanit.gtfs.converter.service.handler
Methods in org.goplanit.gtfs.converter.service.handler with parameters of type ServiceLeg Modifier and Type Method Description Mode
GtfsServicesHandlerData. getServiceLegMode(ServiceLeg serviceLeg)
find mode attributed to the given service leg if anyvoid
GtfsServicesHandlerData. registerServiceLegMode(ServiceLeg parentLeg, Mode serviceLegMode)
Mark the service leg as compatible with the given mode, and this given mode only. -
Uses of ServiceLeg in org.goplanit.network.layer.modifier
Classes in org.goplanit.network.layer.modifier with type parameters of type ServiceLeg 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 ServiceLeg in org.goplanit.network.layer.service
Classes in org.goplanit.network.layer.service that implement ServiceLeg Modifier and Type Class Description class
ServiceLegImpl
A service leg connects two service nodes.Methods in org.goplanit.network.layer.service that return ServiceLeg Modifier and Type Method Description ServiceLeg
ServiceLegSegmentImpl. getParent()
Collect the parent edge of the segmentMethods in org.goplanit.network.layer.service that return types with arguments of type ServiceLeg 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 ServiceLeg Modifier and Type Method Description ServiceLegSegmentImpl
ServiceLegSegmentFactoryImpl. registerNew(ServiceLeg parentLeg, boolean directionAb, boolean registerOnServiceNodeAndLeg)
create a new service leg segment and register it on the underlying container and allow the user to let the factory register the newly create segment on both the parent leg and service nodes in the correct direction if desiredServiceLegSegmentImpl
ServiceLegSegmentFactoryImpl. registerNew(ServiceLeg parentLeg, boolean directionAb, List<LinkSegment> networkLayerLinkSegments, boolean registerOnServiceNodeAndLeg)
create a new service leg segment and register it on the underlying container and allow the user to let the factory register the newly create segment on both the parent leg and service nodes in the correct direction if desiredMethod parameters in org.goplanit.network.layer.service with type arguments of type ServiceLeg Modifier and Type Method Description ServiceLegsImpl
ServiceLegsImpl. deepCloneWithMapping(BiConsumer<ServiceLeg,ServiceLeg> mapper)
Deep clone implementation where the mapping for its internal copies is captured by the provided mapperServiceLegsImpl
ServiceLegsImpl. deepCloneWithMapping(BiConsumer<ServiceLeg,ServiceLeg> 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 ServiceLeg Constructor Description ServiceLegSegmentImpl(IdGroupingToken tokenId, ServiceLeg parentLeg, boolean directionAB)
Constructor with no reference to underlying physical links (to be populated later)ServiceLegSegmentImpl(IdGroupingToken tokenId, ServiceLeg parentLeg, boolean directionAB, List<LinkSegment> networkLayerLinkSegments)
ConstructorConstructor parameters in org.goplanit.network.layer.service with type arguments of type ServiceLeg Constructor Description ServiceLegFactoryImpl(IdGroupingToken groupIdToken, GraphEntities<ServiceLeg> serviceLegs)
ConstructorServiceLegsImpl(ServiceLegsImpl other, boolean deepCopy, BiConsumer<ServiceLeg,ServiceLeg> mapper)
Copy constructor, also creates new factory with this as its underlying containerServiceLegsImpl(ServiceLegsImpl other, boolean deepCopy, BiConsumer<ServiceLeg,ServiceLeg> mapper)
Copy constructor, also creates new factory with this as its underlying container -
Uses of ServiceLeg in org.goplanit.utils.network.layer
Methods in org.goplanit.utils.network.layer that return types with arguments of type ServiceLeg 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 ServiceLeg in org.goplanit.utils.network.layer.modifier
Classes in org.goplanit.utils.network.layer.modifier with type parameters of type ServiceLeg 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 ServiceLeg in org.goplanit.utils.network.layer.service
Methods in org.goplanit.utils.network.layer.service that return ServiceLeg Modifier and Type Method Description ServiceLeg
ServiceLeg. deepClone()
Deep copy, non-owned members are reference copiedServiceLeg
ServiceLegSegment. getParent()
Return the parent leg of this leg segmentdefault 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 containerServiceLeg
ServiceLeg. shallowClone()
Shallow copyMethods in org.goplanit.utils.network.layer.service with parameters of type ServiceLeg Modifier and Type Method Description default ServiceLegSegment
ServiceLegSegmentFactory. registerNew(ServiceLeg parentLeg, boolean directionAb)
create a new service leg segment and register it on the underlying container (without registering on service node and leg)ServiceLegSegment
ServiceLegSegmentFactory. registerNew(ServiceLeg parentLeg, boolean directionAb, boolean registerOnServiceNodeAndLeg)
create a new service leg segment and register it on the underlying container and allow the user to let the factory register the newly create segment on both the parent leg and service nodes in the correct direction if desiredServiceLegSegment
ServiceLegSegmentFactory. registerNew(ServiceLeg parentLeg, boolean directionAb, List<LinkSegment> networkLayerLinkSegments, boolean registerOnServiceNodeAndLeg)
create a new service leg segment and register it on the underlying container and allow the user to let the factory register the newly create segment on both the parent leg and service nodes in the correct direction if desiredMethod parameters in org.goplanit.utils.network.layer.service with type arguments of type ServiceLeg Modifier and Type Method Description ServiceLegs
ServiceLegs. deepCloneWithMapping(BiConsumer<ServiceLeg,ServiceLeg> mapper)
Deep clone implementation with mapping retained between original and copies createdServiceLegs
ServiceLegs. deepCloneWithMapping(BiConsumer<ServiceLeg,ServiceLeg> mapper)
Deep clone implementation with mapping retained between original and copies created
-