Uses of Interface
org.goplanit.utils.service.routed.RelativeLegTiming
-
Packages that use RelativeLegTiming Package Description org.goplanit.service.routed org.goplanit.utils.service.routed -
-
Uses of RelativeLegTiming in org.goplanit.service.routed
Classes in org.goplanit.service.routed that implement RelativeLegTiming Modifier and Type Class Description class
RelativeLegTimingImpl
Simple POJO class that refers to a service leg and its duration and dwell time on a scheduled routed tripMethods in org.goplanit.service.routed that return RelativeLegTiming Modifier and Type Method Description RelativeLegTiming
RoutedTripScheduleImpl. addRelativeLegSegmentTiming(ServiceLegSegment parentLegSegment, LocalTime duration, LocalTime dwellTime)
Add a new leg's timing to the end of the already registered leg timings.RelativeLegTiming
RoutedTripScheduleImpl. getRelativeLegTiming(int index)
Collect a leg timing based on its indexMethods in org.goplanit.service.routed that return types with arguments of type RelativeLegTiming Modifier and Type Method Description Iterator<RelativeLegTiming>
RoutedTripScheduleImpl. iterator()
Iterate over currently available relative leg timings -
Uses of RelativeLegTiming in org.goplanit.utils.service.routed
Methods in org.goplanit.utils.service.routed that return RelativeLegTiming Modifier and Type Method Description RelativeLegTiming
RoutedTripSchedule. addRelativeLegSegmentTiming(ServiceLegSegment parentLegSegment, LocalTime duration, LocalTime dwellTime)
Add a new leg's timing to the end of the already registered leg timings.default RelativeLegTiming
RoutedTripSchedule. getFirstRelativeLegTiming()
Collect the first relative leg timing available, i.e., having the lowest indexdefault RelativeLegTiming
RoutedTripSchedule. getLastRelativeLegTiming()
Collect the last relative leg timing available, i.e., having the highest indexRelativeLegTiming
RoutedTripSchedule. getRelativeLegTiming(int index)
Collect a leg timing based on its indexMethods in org.goplanit.utils.service.routed that return types with arguments of type RelativeLegTiming Modifier and Type Method Description default Stream<RelativeLegTiming>
RoutedTripSchedule. getRelativeLegTimingsAsStream()
Collect the relative leg timings as stream rather than iterabledefault Map<List<RelativeLegTiming>,List<RoutedTripSchedule>>
RoutedTripsSchedule. groupByRelativeLegTimings()
Group the individual schedules by (unique combination of) relative leg timingsMethods in org.goplanit.utils.service.routed with parameters of type RelativeLegTiming Modifier and Type Method Description static boolean
RelativeLegTimingUtils. isLegTimingMappedToServiceNetwork(RelativeLegTiming relativeLegTiming, ServiceLegSegments legSegments, ServiceNodes serviceNodes)
Verify if leg timing is mapped to service network, i.e., its has service nodes that also exist on the service network service nodes AND it has service leg segments that also exist on the service network leg segments
-