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.trippattern |
Modifier and Type | Field and Description |
---|---|
List<TripTimes> |
ConvertToFrequency.scheduledTrips |
Modifier and Type | Method and Description |
---|---|
TripTimes |
AdjustHeadway.apply(org.onebusaway.gtfs.model.Trip trip,
TripPattern tp,
TripTimes tt) |
abstract TripTimes |
TripFilter.apply(org.onebusaway.gtfs.model.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(org.onebusaway.gtfs.model.Trip trip,
TripPattern tp,
TripTimes tt) |
TripTimes |
AdjustDwellTime.apply(org.onebusaway.gtfs.model.Trip trip,
TripPattern tp,
TripTimes tt) |
TripTimes |
SkipStop.omitStops(TripTimes tt,
int... stopsToSkip) |
Modifier and Type | Method and Description |
---|---|
TripTimes |
AdjustHeadway.apply(org.onebusaway.gtfs.model.Trip trip,
TripPattern tp,
TripTimes tt) |
abstract TripTimes |
TripFilter.apply(org.onebusaway.gtfs.model.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(org.onebusaway.gtfs.model.Trip trip,
TripPattern tp,
TripTimes tt) |
TripTimes |
AdjustDwellTime.apply(org.onebusaway.gtfs.model.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,
org.onebusaway.gtfs.model.Stop stop)
This is stop-specific, so the index i is a stop index, not a hop index.
|
TripTimeShort(TripTimes tt,
int i,
org.onebusaway.gtfs.model.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,
org.onebusaway.gtfs.model.calendar.ServiceDate updateServiceDate)
Apply the TripUpdate to the appropriate TripTimes from this Timetable.
|
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 |
TripPattern.getResolvedTripTimes(int tripIndex,
State state0) |
TripTimes |
TripPattern.getResolvedTripTimes(org.onebusaway.gtfs.model.Trip trip,
State state0) |
TripTimes |
Timetable.getTripTimes(int tripIndex) |
TripTimes |
Timetable.getTripTimes(org.onebusaway.gtfs.model.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.
|
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,
org.onebusaway.gtfs.model.calendar.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 | 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(org.onebusaway.gtfs.model.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 © 2018. All rights reserved.