Constructor and Description |
---|
TripTimeShort(TripTimes tt,
int i,
Stop stop,
ServiceDay sd) |
Modifier and Type | Field and Description |
---|---|
protected ServiceDay |
StateData.serviceDay |
Modifier and Type | Field and Description |
---|---|
ArrayList<ServiceDay> |
RoutingContext.serviceDays
Cache lists of which transit services run on which midnight-to-midnight periods.
|
Modifier and Type | Method and Description |
---|---|
ServiceDay |
State.getServiceDay() |
Modifier and Type | Method and Description |
---|---|
void |
StateEditor.setServiceDay(ServiceDay day) |
Modifier and Type | Method and Description |
---|---|
int |
TransitBoardAlight.calculateWait(State s0,
ServiceDay sd,
TripTimes tripTimes) |
TripTimes |
Timetable.getNextCallNRideTrip(State s0,
ServiceDay serviceDay,
int stopIndex,
boolean boarding,
int directTime) |
TripTimes |
Timetable.getNextTrip(State s0,
ServiceDay serviceDay,
int stopIndex,
boolean boarding)
Get the next (previous) trip that departs (arrives) from the specified stop at or after
(before) the specified time.
|
TripTimes |
Timetable.getNextTrip(State s0,
ServiceDay serviceDay,
int stopIndex,
boolean boarding,
double flexOffsetScale,
int flexPreBoardDirectTime,
int flexPostAlightDirectTime)
Get the next (previous) trip that departs (arrives) from the specified stop at or after
(before) the specified time.
|
TripTimes |
TransitBoardAlight.getNextTrip(State s0,
ServiceDay sd,
Timetable timetable) |
Timetable |
TripPattern.getUpdatedTimetable(RoutingRequest req,
ServiceDay sd)
Rather than the scheduled timetable, get the one that has been updated with real-time updates.
|
boolean |
Timetable.temporallyViable(ServiceDay sd,
long searchTime,
int bestWait,
boolean boarding)
Before performing the relatively expensive iteration over all the trips in this pattern, check whether it's even
possible to board any of them given the time at which we are searching, and whether it's possible that any of
them could improve on the best known time.
|
Constructor and Description |
---|
OnBoardDepartPatternHop(OnboardDepartVertex from,
PatternStopVertex to,
TripTimes tripTimes,
ServiceDay serviceDay,
int stopIndex,
double positionInHop) |
Modifier and Type | Method and Description |
---|---|
int |
FlexTransitBoardAlight.calculateWait(State s0,
ServiceDay sd,
TripTimes tripTimes) |
TripTimes |
FlexTransitBoardAlight.getNextTrip(State s0,
ServiceDay sd,
Timetable timetable) |
Modifier and Type | Method and Description |
---|---|
int |
TripTimes.getCallAndRideAlightTime(int stop,
long currTime,
int directTime,
ServiceDay sd,
boolean useClockTime,
long startClockTime) |
int |
TripTimes.getCallAndRideBoardTime(int stop,
long currTime,
int directTime,
ServiceDay sd,
boolean useClockTime,
long startClockTime) |
Copyright © 2019. All rights reserved.