Package | Description |
---|---|
org.opentripplanner.analyst.scenario |
This package contains classes for modeling transport scenarios as an ordered series of modifications to be applied
to an underlying baseline graph.
|
org.opentripplanner.index.model | |
org.opentripplanner.routing.core | |
org.opentripplanner.routing.edgetype | |
org.opentripplanner.routing.edgetype.flex | |
org.opentripplanner.routing.trippattern |
Modifier and Type | Field and Description |
---|---|
List<TripTimes> |
ConvertToFrequency.scheduledTrips |
Modifier and Type | Method and Description |
---|---|
TripTimes |
AdjustHeadway.apply(Trip trip,
TripPattern tp,
TripTimes tt) |
abstract TripTimes |
TripFilter.apply(Trip trip,
TripPattern tp,
TripTimes tt)
Apply this modification to a Trip/ Do not modify the original trip times as they are part of the graph!
|
TripTimes |
RemoveTrip.apply(Trip trip,
TripPattern tp,
TripTimes tt) |
TripTimes |
AdjustDwellTime.apply(Trip trip,
TripPattern tp,
TripTimes tt) |
TripTimes |
SkipStop.omitStops(TripTimes tt,
int... stopsToSkip) |
Modifier and Type | Method and Description |
---|---|
TripTimes |
AdjustHeadway.apply(Trip trip,
TripPattern tp,
TripTimes tt) |
abstract TripTimes |
TripFilter.apply(Trip trip,
TripPattern tp,
TripTimes tt)
Apply this modification to a Trip/ Do not modify the original trip times as they are part of the graph!
|
TripTimes |
RemoveTrip.apply(Trip trip,
TripPattern tp,
TripTimes tt) |
TripTimes |
AdjustDwellTime.apply(Trip trip,
TripPattern tp,
TripTimes tt) |
TripTimes |
SkipStop.omitStops(TripTimes tt,
int... stopsToSkip) |
Modifier and Type | Method and Description |
---|---|
void |
ConvertToFrequency.apply(List<FrequencyEntry> frequencyEntries,
List<TripTimes> scheduledTrips,
Graph graph,
BitSet servicesRunning,
RaptorWorkerTimetable.BoardingAssumption assumption) |
Constructor and Description |
---|
TripTimeShort(TripTimes tt,
int i,
Stop stop)
This is stop-specific, so the index i is a stop index, not a hop index.
|
TripTimeShort(TripTimes tt,
int i,
Stop stop,
ServiceDay sd) |
Modifier and Type | Field and Description |
---|---|
protected TripTimes |
StateData.tripTimes |
Modifier and Type | Method and Description |
---|---|
TripTimes |
State.getTripTimes() |
Modifier and Type | Method and Description |
---|---|
void |
StateEditor.setTripTimes(TripTimes tripTimes) |
Modifier and Type | Field and Description |
---|---|
List<TripTimes> |
Timetable.tripTimes
Contains one TripTimes object for each scheduled trip (even cancelled ones) and possibly
additional TripTimes objects for unscheduled trips.
|
Modifier and Type | Method and Description |
---|---|
TripTimes |
Timetable.createUpdatedTripTimes(GtfsRealtime.TripUpdate tripUpdate,
TimeZone timeZone,
ServiceDate updateServiceDate)
Apply the TripUpdate to the appropriate TripTimes from this Timetable.
|
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) |
TripTimes |
TripPattern.getResolvedTripTimes(int tripIndex,
State state0) |
TripTimes |
TripPattern.getResolvedTripTimes(Trip trip,
State state0) |
TripTimes |
Timetable.getTripTimes(int tripIndex) |
TripTimes |
Timetable.getTripTimes(Trip trip) |
TripTimes |
Timetable.setTripTimes(int tripIndex,
TripTimes tt)
Set new trip times for trip given a trip index
|
Modifier and Type | Method and Description |
---|---|
void |
TripPattern.add(TripTimes tt)
Add the given tripTimes to this pattern's scheduled timetable, recording the corresponding
trip as one of the scheduled trips on this pattern.
|
void |
Timetable.addTripTimes(TripTimes tt)
Add a trip to this Timetable.
|
int |
TransitBoardAlight.calculateWait(State s0,
ServiceDay sd,
TripTimes tripTimes) |
TripTimes |
Timetable.setTripTimes(int tripIndex,
TripTimes tt)
Set new trip times for trip given a trip index
|
boolean |
TimetableSnapshot.update(String feedId,
TripPattern pattern,
TripTimes updatedTripTimes,
ServiceDate serviceDate)
Update the trip times of one trip in a timetable of a trip pattern.
|
Constructor and Description |
---|
OnBoardDepartPatternHop(OnboardDepartVertex from,
PatternStopVertex to,
TripTimes tripTimes,
ServiceDay serviceDay,
int stopIndex,
double positionInHop) |
Modifier and Type | Method and Description |
---|---|
TripTimes |
FlexTransitBoardAlight.getNextTrip(State s0,
ServiceDay sd,
Timetable timetable) |
Modifier and Type | Method and Description |
---|---|
int |
FlexTransitBoardAlight.calculateWait(State s0,
ServiceDay sd,
TripTimes tripTimes) |
Modifier and Type | Field and Description |
---|---|
TripTimes |
FrequencyEntry.tripTimes |
Modifier and Type | Method and Description |
---|---|
TripTimes |
TripTimes.clone() |
TripTimes |
FrequencyEntry.materialize(int stop,
int time,
boolean depart)
Returns a disposable TripTimes for this frequency entry in which the vehicle
passes the given stop index (not stop sequence number) at the given time.
|
TripTimes |
TripTimes.timeShift(int stop,
int time,
boolean depart)
Returns a time-shifted copy of this TripTimes in which the vehicle passes the given stop
index (not stop sequence number) at the given time.
|
Modifier and Type | Method and Description |
---|---|
int |
TripTimes.compareTo(TripTimes other)
Sort TripTimes based on first departure time.
|
Constructor and Description |
---|
FrequencyEntry(Frequency freq,
TripTimes tripTimes) |
FrequencyEntry(int startTime,
int endTime,
int headway,
boolean exactTimes,
TripTimes tripTimes) |
TripTimes(TripTimes object)
This copy constructor does not copy the actual times, only the scheduled times.
|
Copyright © 2019. All rights reserved.