|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StopTimeService
Service methods for determining the set of active stop times at a particular stop and time.
StopTimeInstance
Nested Class Summary | |
---|---|
static class |
StopTimeService.EFrequencyStopTimeBehavior
When calculating frequency-based stop times, we have a couple different options when return results |
Method Summary | |
---|---|
org.onebusaway.collections.Range |
getDepartureForStopAndServiceDate(org.onebusaway.gtfs.model.AgencyAndId stopId,
org.onebusaway.gtfs.model.calendar.ServiceDate serviceDate)
|
List<StopTimeInstance> |
getNextBlockSequenceDeparturesForStop(StopEntry stop,
long time,
boolean includePrivateSerivce)
Given the set of BlockSequence sequences incident on a particular
stop, compute the next departure for each sequence at or after the
specified time. |
List<org.onebusaway.collections.tuple.Pair<StopTimeInstance>> |
getNextDeparturesBetweenStopPair(StopEntry fromStop,
StopEntry toStop,
Date fromTime,
int runningEarlySlack,
int runningLateSlack,
int resultCount,
boolean includePrivateService)
|
List<org.onebusaway.collections.tuple.Pair<StopTimeInstance>> |
getPreviousArrivalsBetweenStopPair(StopEntry fromStop,
StopEntry toStop,
Date toTime,
int runningEarlySlack,
int runningLateSlack,
int resultCount,
boolean includePrivateService)
|
List<StopTimeInstance> |
getStopTimeInstancesInTimeRange(org.onebusaway.gtfs.model.AgencyAndId stopId,
Date from,
Date to)
Determines the set of active stop time instances at a given stop, taking into account information like active service dates, etc |
List<StopTimeInstance> |
getStopTimeInstancesInTimeRange(StopEntry stopEntry,
Date from,
Date to,
StopTimeService.EFrequencyStopTimeBehavior frequencyBehavior)
Determines the set of active stop time instances at a given stop, taking into account information like active service dates, etc |
Method Detail |
---|
List<StopTimeInstance> getStopTimeInstancesInTimeRange(org.onebusaway.gtfs.model.AgencyAndId stopId, Date from, Date to)
stopId
- the starget stop idfrom
- to
-
List<StopTimeInstance> getStopTimeInstancesInTimeRange(StopEntry stopEntry, Date from, Date to, StopTimeService.EFrequencyStopTimeBehavior frequencyBehavior)
stopEntry
- from
- to
- frequencyBehavior
- how to handle frequency-based stop times
org.onebusaway.collections.Range getDepartureForStopAndServiceDate(org.onebusaway.gtfs.model.AgencyAndId stopId, org.onebusaway.gtfs.model.calendar.ServiceDate serviceDate)
List<StopTimeInstance> getNextBlockSequenceDeparturesForStop(StopEntry stop, long time, boolean includePrivateSerivce)
BlockSequence
sequences incident on a particular
stop, compute the next departure for each sequence at or after the
specified time.
stop
- time
- includePrivateSerivce
- TODO
List<org.onebusaway.collections.tuple.Pair<StopTimeInstance>> getNextDeparturesBetweenStopPair(StopEntry fromStop, StopEntry toStop, Date fromTime, int runningEarlySlack, int runningLateSlack, int resultCount, boolean includePrivateService)
List<org.onebusaway.collections.tuple.Pair<StopTimeInstance>> getPreviousArrivalsBetweenStopPair(StopEntry fromStop, StopEntry toStop, Date toTime, int runningEarlySlack, int runningLateSlack, int resultCount, boolean includePrivateService)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |