Uses of Interface
org.goplanit.utils.network.layer.service.ServiceLegSegment
-
-
Uses of ServiceLegSegment in org.goplanit.converter.idmapping
Methods in org.goplanit.converter.idmapping that return types with arguments of type ServiceLegSegment Modifier and Type Method Description static Function<ServiceLegSegment,String>IdMapperFunctionFactory. createServiceLegSegmentIdMappingFunction(IdMapperType idMapper)create a function that takes a service leg segment and generates the appropriate id based on the user configurationFunction<ServiceLegSegment,String>ServiceNetworkIdMapper. getServiceLegSegmentIdMapper()get id mapper for ServiceLegSegment instances -
Uses of ServiceLegSegment in org.goplanit.network.layer.modifier
Classes in org.goplanit.network.layer.modifier with type parameters of type ServiceLegSegment Modifier and Type Class Description classServiceNetworkLayerModifierImpl<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 ServiceLegSegment in org.goplanit.network.layer.service
Classes in org.goplanit.network.layer.service that implement ServiceLegSegment Modifier and Type Class Description classServiceLegSegmentImplA service leg segment implementation.Methods in org.goplanit.network.layer.service that return types with arguments of type ServiceLegSegment Modifier and Type Method Description ServiceNetworkLayerModifierImpl<ServiceNode,ServiceLeg,ServiceLegSegment>ServiceNetworkLayerImpl. getLayerModifier()Provide access to the modifier options for this layerMethod parameters in org.goplanit.network.layer.service with type arguments of type ServiceLegSegment Modifier and Type Method Description ServiceLegSegmentsImplServiceLegSegmentsImpl. deepCloneWithMapping(BiConsumer<ServiceLegSegment,ServiceLegSegment> mapper)Deep clone implementation where the mapping for its internal copies is captured by the provided mapperServiceLegSegmentsImplServiceLegSegmentsImpl. deepCloneWithMapping(BiConsumer<ServiceLegSegment,ServiceLegSegment> mapper)Deep clone implementation where the mapping for its internal copies is captured by the provided mapperConstructor parameters in org.goplanit.network.layer.service with type arguments of type ServiceLegSegment Constructor Description ServiceLegSegmentFactoryImpl(IdGroupingToken groupIdToken, GraphEntities<ServiceLegSegment> serviceLegSegments)ConstructorServiceLegSegmentsImpl(ServiceLegSegmentsImpl other, boolean deepCopy, BiConsumer<ServiceLegSegment,ServiceLegSegment> mapper)Copy constructor, also creates new factory with this as its underlying containerServiceLegSegmentsImpl(ServiceLegSegmentsImpl other, boolean deepCopy, BiConsumer<ServiceLegSegment,ServiceLegSegment> mapper)Copy constructor, also creates new factory with this as its underlying container -
Uses of ServiceLegSegment in org.goplanit.service.routed
Fields in org.goplanit.service.routed with type parameters of type ServiceLegSegment Modifier and Type Field Description List<ServiceLegSegment>RoutedTripFrequencyImpl. orderedLegSegmentsOrdered list of leg segments for this trip from start to end (leg segments not owned)Methods in org.goplanit.service.routed that return ServiceLegSegment Modifier and Type Method Description ServiceLegSegmentRoutedTripFrequencyImpl. getLegSegment(int index)Get a leg segment in a particular position of the routed tripServiceLegSegmentRelativeLegTimingImpl. getParentLegSegment()Collect parent leg segmentMethods in org.goplanit.service.routed that return types with arguments of type ServiceLegSegment Modifier and Type Method Description Iterator<ServiceLegSegment>RoutedTripFrequencyImpl. iterator()Methods in org.goplanit.service.routed with parameters of type ServiceLegSegment Modifier and Type Method Description voidRoutedTripFrequencyImpl. addLegSegment(ServiceLegSegment legSegment)Add a new leg segment (directed leg) to the end of the already registered legs.RelativeLegTimingRoutedTripScheduleImpl. addRelativeLegSegmentTiming(ServiceLegSegment parentLegSegment, LocalTime duration, LocalTime dwellTime)Add a new leg's timing to the end of the already registered leg timings.Constructors in org.goplanit.service.routed with parameters of type ServiceLegSegment Constructor Description RelativeLegTimingImpl(ServiceLegSegment parentLegSegment, LocalTime duration, LocalTime dwellTime)Constructor -
Uses of ServiceLegSegment in org.goplanit.utils.network.layer
Methods in org.goplanit.utils.network.layer that return types with arguments of type ServiceLegSegment 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 ServiceLegSegment in org.goplanit.utils.network.layer.modifier
Classes in org.goplanit.utils.network.layer.modifier with type parameters of type ServiceLegSegment Modifier and Type Interface Description interfaceServiceNetworkLayerModifier<V extends ServiceNode,E extends ServiceLeg,S extends ServiceLegSegment>Modifier with additional functionality related to modifications to service network layers -
Uses of ServiceLegSegment in org.goplanit.utils.network.layer.service
Methods in org.goplanit.utils.network.layer.service with type parameters of type ServiceLegSegment Modifier and Type Method Description default <LS extends ServiceLegSegment>
LSServiceLeg. getLegSegment(boolean directionAb)collect edgeSegment as something extending LegSegment which is to be expected for any Leg.default <LS extends ServiceLegSegment>
LSServiceLeg. getLegSegmentAb()collect edgeSegment Ab as something extending LegSegment which is to be expected for any Leg.default <LS extends ServiceLegSegment>
Collection<LS>ServiceLeg. getLegSegments()Collect all available leg segments of this legdefault <LS extends ServiceLegSegment>
LSServiceLeg. getLinkSegmentBa()collect edgeSegment Ba as something extending LegSegment which is to be expected for any link.Methods in org.goplanit.utils.network.layer.service that return ServiceLegSegment Modifier and Type Method Description ServiceLegSegmentServiceLegSegment. deepClone()An id entity should always support a deep copy, i.e., all "owned" members will be deep copied when a clone of this instance is created via this call.default ServiceLegSegmentServiceNode. getFirstEntryLegSegment()Collect the first available entry leg segment using the iterator internally.default ServiceLegSegmentServiceNode. getFirstExitLegSegment()Collect the first available exit link segment using the iterator internally.default ServiceLegSegmentServiceNode. getLegSegment(ServiceNode endNode)Identical to#getEdgeSegment(DirectedVertex)default ServiceLegSegmentServiceLegSegmentFactory. 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)ServiceLegSegmentServiceLegSegmentFactory. 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 desiredServiceLegSegmentServiceLegSegmentFactory. 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 desiredServiceLegSegmentServiceLegSegment. shallowClone()Create a shallow copy of this entityMethods in org.goplanit.utils.network.layer.service with parameters of type ServiceLegSegment Modifier and Type Method Description default booleanServiceLegSegments. hasServiceLegSegment(ServiceLegSegment parentLegSegment)Verify if presentstatic booleanServiceLegSegmentUtils. isMappedToServiceNetwork(ServiceLegSegment serviceLegSegment, ServiceNetworkLayer serviceNetworkLayer)Verify if service leg segment is present in the service network layer, i.e., it is present on the service network containers., and its nodes are present on the service node contains.Method parameters in org.goplanit.utils.network.layer.service with type arguments of type ServiceLegSegment Modifier and Type Method Description ServiceLegSegmentsServiceLegSegments. deepCloneWithMapping(BiConsumer<ServiceLegSegment,ServiceLegSegment> mapper)Deep clone implementation with mapping retained between original and copies createdServiceLegSegmentsServiceLegSegments. deepCloneWithMapping(BiConsumer<ServiceLegSegment,ServiceLegSegment> mapper)Deep clone implementation with mapping retained between original and copies created -
Uses of ServiceLegSegment in org.goplanit.utils.service.routed
Methods in org.goplanit.utils.service.routed that return ServiceLegSegment Modifier and Type Method Description default ServiceLegSegmentRoutedTripFrequency. getFirstLegSegment()Get first leg segment of the routed tripdefault ServiceLegSegmentRoutedTripFrequency. getLastLegSegment()Get last leg segment of the routed tripServiceLegSegmentRoutedTripFrequency. getLegSegment(int index)Get a leg segment in a particular position of the routed tripServiceLegSegmentRelativeLegTiming. getParentLegSegment()Collect parent leg segmentMethods in org.goplanit.utils.service.routed that return types with arguments of type ServiceLegSegment Modifier and Type Method Description default Stream<ServiceLegSegment>RoutedTripFrequency. getLegSegmentsAsStream()convert this iterable into a stream and provide its leg segments this waydefault Stream<ServiceLegSegment>RoutedServiceTripInfo. getLegSegmentsStream()Provide a stream of all service leg segments touched by this routed servicedefault Map<List<ServiceLegSegment>,List<RoutedTripSchedule>>RoutedTripsSchedule. groupByServiceLegSegments()Group the individual schedules by (unique combination of) leg segmentsMethods in org.goplanit.utils.service.routed with parameters of type ServiceLegSegment Modifier and Type Method Description voidRoutedTripFrequency. addLegSegment(ServiceLegSegment legSegment)Add a new leg segment (directed leg) to the end of the already registered legs.RelativeLegTimingRoutedTripSchedule. addRelativeLegSegmentTiming(ServiceLegSegment parentLegSegment, LocalTime duration, LocalTime dwellTime)Add a new leg's timing to the end of the already registered leg timings.
-