| 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.api.adapters | |
| org.opentripplanner.graph_builder.annotation | 
 Graph builder annotation classes represent errors or exceptional conditions encountered
 during the graph bulding process. 
 | 
| org.opentripplanner.gtfs | 
 This package contains a GTFS loader library. 
 | 
| org.opentripplanner.index.model | |
| org.opentripplanner.model | |
| org.opentripplanner.model.impl | |
| org.opentripplanner.routing.core | |
| org.opentripplanner.routing.edgetype | |
| org.opentripplanner.routing.edgetype.factory | |
| org.opentripplanner.routing.graph | |
| org.opentripplanner.routing.transit_index | |
| org.opentripplanner.routing.trippattern | |
| org.opentripplanner.updater | 
| Modifier and Type | Method and Description | 
|---|---|
FrequencyEntry | 
AdjustHeadway.apply(Trip trip,
     TripPattern tp,
     FrequencyEntry fe)  | 
abstract FrequencyEntry | 
TripFilter.apply(Trip trip,
     TripPattern tp,
     FrequencyEntry fe)  | 
FrequencyEntry | 
RemoveTrip.apply(Trip trip,
     TripPattern tp,
     FrequencyEntry fe)  | 
FrequencyEntry | 
AdjustDwellTime.apply(Trip trip,
     TripPattern tp,
     FrequencyEntry fe)  | 
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)  | 
protected boolean | 
TimetableFilter.matches(Trip trip)
Does this TripTimes match the match parameters defined here? 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Trip | 
TripAdapter.unmarshal(TripType arg)  | 
| Modifier and Type | Method and Description | 
|---|---|
TripType | 
TripAdapter.marshal(Trip arg)  | 
| Constructor and Description | 
|---|
TripType(Trip obj)  | 
TripType(Trip obj,
        Boolean extended)  | 
| Modifier and Type | Field and Description | 
|---|---|
Trip | 
RepeatedStops.trip  | 
| Constructor and Description | 
|---|
HopSpeedFast(float metersPerSecond,
            float distance,
            Trip trip,
            int seq)  | 
HopSpeedSlow(float metersPerSecond,
            float distance,
            Trip trip,
            int seq)  | 
HopZeroTime(float dist,
           Trip trip,
           int seq)  | 
InterliningTeleport(Trip prevTrip,
                   String blockId,
                   int distance)  | 
RepeatedStops(Trip trip,
             gnu.trove.list.TIntList removedStopSequences)  | 
TripDegenerate(Trip trip)  | 
TripDuplicate(Trip newTrip,
             Trip existingTrip)  | 
TripDuplicateDeparture(Trip newTrip,
                      Trip existingTrip)  | 
TripOvertaking(Trip overtaker,
              Trip overtaken,
              int index)  | 
TripUndefinedService(Trip trip)  | 
| Modifier and Type | Method and Description | 
|---|---|
static BikeAccess | 
BikeAccess.fromTrip(Trip trip)  | 
static void | 
BikeAccess.setForTrip(Trip trip,
          BikeAccess access)  | 
| Modifier and Type | Method and Description | 
|---|---|
static List<TripTimeShort> | 
TripTimeShort.fromTripTimes(Timetable table,
             Trip trip)
must pass in both table and trip, because tripTimes do not have stops. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static List<TripShort> | 
TripShort.list(Collection<Trip> in)  | 
| Constructor and Description | 
|---|
TripShort(Trip trip)  | 
| Modifier and Type | Method and Description | 
|---|---|
Trip | 
Transfer.getFromTrip()  | 
Trip | 
Transfer.getToTrip()  | 
Trip | 
Frequency.getTrip()  | 
Trip | 
StopTime.getTrip()  | 
| Modifier and Type | Method and Description | 
|---|---|
Collection<Trip> | 
OtpTransitService.getAllTrips()  | 
| Modifier and Type | Method and Description | 
|---|---|
List<StopTime> | 
OtpTransitService.getStopTimesForTrip(Trip trip)  | 
void | 
Transfer.setFromTrip(Trip fromTrip)  | 
void | 
Transfer.setToTrip(Trip toTrip)  | 
void | 
Frequency.setTrip(Trip trip)  | 
void | 
StopTime.setTrip(Trip trip)  | 
| Constructor and Description | 
|---|
Trip(Trip obj)  | 
| Modifier and Type | Method and Description | 
|---|---|
List<Trip> | 
OtpTransitServiceBuilder.getTrips()  | 
| Modifier and Type | Field and Description | 
|---|---|
protected Trip | 
StateData.previousTrip  | 
| Modifier and Type | Method and Description | 
|---|---|
Trip | 
State.getBackTrip()
Get the back trip of the given state. 
 | 
Trip | 
State.getPreviousTrip()  | 
Trip | 
StateEditor.getPreviousTrip()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
TransferTable.addTransferTime(Stop fromStop,
               Stop toStop,
               Route fromRoute,
               Route toRoute,
               Trip fromTrip,
               Trip toTrip,
               int transferTime)
Add a transfer time to the transfer table. 
 | 
int | 
TransferTable.getTransferTime(Stop fromStop,
               Stop toStop,
               Trip fromTrip,
               Trip toTrip,
               boolean forwardInTime)
Get the transfer time that should be used when transferring from a trip to another trip. 
 | 
int | 
StopTransfer.getTransferTime(Trip fromTrip,
               Trip toTrip)
Get the transfer time that should be used when transferring from a trip to another trip. 
 | 
boolean | 
SpecificTransfer.matches(Trip fromTrip,
       Trip toTrip)
Returns whether this specific transfer is applicable to a transfer between
 two trips. 
 | 
void | 
StateEditor.setPreviousTrip(Trip previousTrip)  | 
| Constructor and Description | 
|---|
SpecificTransfer(Route fromRoute,
                Route toRoute,
                Trip fromTrip,
                Trip toTrip,
                int transferTime)  | 
| Modifier and Type | Method and Description | 
|---|---|
Trip | 
TripPattern.getExemplar()  | 
Trip | 
OnBoardDepartPatternHop.getTrip()  | 
Trip | 
StreetTransitLink.getTrip()  | 
Trip | 
TripPattern.getTrip(int tripIndex)  | 
| Modifier and Type | Method and Description | 
|---|---|
List<Trip> | 
TripPattern.getTrips()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
PatternInterlineDwell.add(Trip t1,
   Trip t2)
Register the fact that a passenger may pass from Trip t1 to Trip t2
 by staying on the same vehicle. 
 | 
TripTimes | 
TripPattern.getResolvedTripTimes(Trip trip,
                    State state0)  | 
int | 
TripPattern.getTripIndex(Trip trip)  | 
TripTimes | 
Timetable.getTripTimes(Trip trip)  | 
String | 
TripPattern.semanticHashString(Trip trip)
In most cases we want to use identity equality for Trips. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
Trip | 
TripOvertakingException.overtaken  | 
Trip | 
TripOvertakingException.overtaker  | 
| Modifier and Type | Field and Description | 
|---|---|
Map<T2<Stop,Trip>,Vertex> | 
GtfsStopContext.patternArriveNodes  | 
Map<T2<Stop,Trip>,Vertex> | 
GtfsStopContext.patternDepartNodes  | 
| Constructor and Description | 
|---|
TripOvertakingException(Trip overtaker,
                       Trip overtaken,
                       int stopIndex)  | 
| Modifier and Type | Field and Description | 
|---|---|
Map<Trip,TripPattern> | 
GraphIndex.patternForTrip  | 
Map<FeedScopedId,Trip> | 
GraphIndex.tripForId  | 
| Modifier and Type | Method and Description | 
|---|---|
Trip | 
Edge.getTrip()
This should only be called inside State; other methods should call
 org.opentripplanner.routing.core.State.getBackTrip() 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
RouteVariant.addTrip(Trip trip,
       int number)  | 
| Modifier and Type | Field and Description | 
|---|---|
Trip | 
TripTimes.trip
The trips whose arrivals and departures are represented by this TripTimes 
 | 
| Constructor and Description | 
|---|
TripTimes(Trip trip,
         List<StopTime> stopTimes,
         Deduplicator deduplicator)
The provided stopTimes are assumed to be pre-filtered, valid, and monotonically increasing. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Trip | 
GtfsRealtimeFuzzyTripMatcher.getTrip(Route route,
       int direction,
       int startTime,
       ServiceDate date)  | 
Copyright © 2019. All rights reserved.