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.profile | |
org.opentripplanner.routing.core | |
org.opentripplanner.routing.edgetype | |
org.opentripplanner.routing.edgetype.factory | |
org.opentripplanner.routing.graph | |
org.opentripplanner.routing.vertextype | |
org.opentripplanner.routing.vertextype.flex | |
org.opentripplanner.updater.stoptime |
Modifier and Type | Method and Description |
---|---|
Collection<TripPattern> |
SkipStop.apply(TripPattern original) |
abstract Collection<TripPattern> |
TripPatternFilter.apply(TripPattern original)
Apply this to a trip pattern.
|
Modifier and Type | Method and Description |
---|---|
Collection<TripPattern> |
SkipStop.apply(TripPattern original) |
abstract Collection<TripPattern> |
TripPatternFilter.apply(TripPattern original)
Apply this to a trip pattern.
|
FrequencyEntry |
AdjustDwellTime.apply(Trip trip,
TripPattern tp,
FrequencyEntry fe) |
FrequencyEntry |
RemoveTrip.apply(Trip trip,
TripPattern tp,
FrequencyEntry fe) |
FrequencyEntry |
AdjustHeadway.apply(Trip trip,
TripPattern tp,
FrequencyEntry fe) |
abstract FrequencyEntry |
TripFilter.apply(Trip trip,
TripPattern tp,
FrequencyEntry fe) |
TripTimes |
AdjustDwellTime.apply(Trip trip,
TripPattern tp,
TripTimes tt) |
TripTimes |
RemoveTrip.apply(Trip trip,
TripPattern tp,
TripTimes tt) |
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!
|
protected boolean |
TimetableFilter.couldMatch(TripPattern pattern)
Could any trip on this trip pattern possibly match this filter?
|
Modifier and Type | Method and Description |
---|---|
static List<PatternShort> |
PatternShort.list(Collection<TripPattern> in) |
Constructor and Description |
---|
PatternDetail(TripPattern pattern) |
PatternShort(TripPattern pattern) |
StopTimesInPattern(TripPattern pattern) |
Modifier and Type | Field and Description |
---|---|
TripPattern[] |
ProfileState.patterns
the trip patterns used to access this stop
|
TripPattern |
ProfileTransfer.tp1 |
TripPattern |
ProfileTransfer.tp2 |
Modifier and Type | Field and Description |
---|---|
Collection<TripPattern> |
ProfileState.targetPatterns
the patterns that should be boarded from this state
|
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.Multimap<TripPattern,StopAtDistance> |
ProfileRouter.findClosestPatterns(com.google.common.collect.Multimap<StopCluster,StopAtDistance> stopClusters) |
Set<TripPattern> |
AnalystProfileRouterPrototype.uniquePatternsVisiting(Set<Stop> stops)
Return a set of all patterns that pass through the stops that are present in the given Tracker.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ProfileState.containsPattern(TripPattern pattern) |
boolean |
Ride.containsPattern(TripPattern pattern) |
static RaptorWorkerTimetable |
RaptorWorkerTimetable.forPattern(Graph graph,
TripPattern pattern,
TimeWindow window,
Scenario scenario,
TaskStatistics ts)
This is a factory function rather than a constructor to avoid calling the super constructor for rejected patterns.
|
Modifier and Type | Method and Description |
---|---|
void |
ProfileRouter.printStopsForPatterns(String prefix,
com.google.common.collect.Multimap<TripPattern,StopAtDistance> stopClustersByPattern) |
Constructor and Description |
---|
ProfileTransfer(TripPattern tp1,
TripPattern tp2,
StopCluster s1,
StopCluster s2,
int distance) |
Modifier and Type | Field and Description |
---|---|
protected TripPattern |
StateData.lastPattern |
Modifier and Type | Method and Description |
---|---|
TripPattern |
State.getLastPattern() |
Modifier and Type | Method and Description |
---|---|
void |
StateEditor.setLastPattern(TripPattern pattern) |
Modifier and Type | Field and Description |
---|---|
TripPattern |
Timetable.pattern
A circular reference between TripPatterns and their scheduled (non-updated) timetables.
|
Modifier and Type | Method and Description |
---|---|
TripPattern |
TripPattern.clone() |
TripPattern |
TimetableSnapshot.getLastAddedTripPattern(String feedId,
String tripId,
ServiceDate serviceDate)
Get the last added trip pattern given a trip id (without agency) and a service date as
a result of a call to
TimetableSnapshot.update(String feedId, TripPattern, TripTimes, ServiceDate) with trip times of
a trip that didn't exist yet in the trip pattern. |
TripPattern |
TransitBoardAlight.getPattern()
Find the TripPattern this edge is boarding or alighting from.
|
TripPattern |
PatternEdge.getPattern() |
TripPattern |
TablePatternEdge.getPattern() |
Modifier and Type | Method and Description |
---|---|
Timetable |
TimetableSnapshot.resolve(TripPattern pattern,
ServiceDate serviceDate)
Returns an updated timetable for the specified pattern if one is available in this snapshot,
or the originally scheduled timetable if there are no updates in this snapshot.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static void |
TripPattern.generateUniqueIds(Collection<TripPattern> tripPatterns)
Patterns do not have unique IDs in GTFS, so we make some by concatenating agency id, route id, the direction and
an integer.
|
static void |
TripPattern.generateUniqueNames(Collection<TripPattern> tableTripPatterns)
Static method that creates unique human-readable names for a collection of TableTripPatterns.
|
Constructor and Description |
---|
PatternDwell(PatternArriveVertex from,
PatternDepartVertex to,
int stopIndex,
TripPattern tripPattern) |
PatternInterlineDwell(TripPattern p0,
TripPattern p1) |
Timetable(TripPattern pattern)
Construct an empty Timetable.
|
Modifier and Type | Field and Description |
---|---|
HashMap<TripPattern,Integer> |
GtfsStopContext.tripPatternIds |
Modifier and Type | Field and Description |
---|---|
Map<String,TripPattern> |
GraphIndex.patternForId |
Map<Trip,TripPattern> |
GraphIndex.patternForTrip |
com.google.common.collect.Multimap<String,TripPattern> |
GraphIndex.patternsForFeedId |
com.google.common.collect.Multimap<Route,TripPattern> |
GraphIndex.patternsForRoute |
com.google.common.collect.Multimap<Stop,TripPattern> |
GraphIndex.patternsForStop |
Modifier and Type | Method and Description |
---|---|
Timetable |
GraphIndex.currentUpdatedTimetableForTripPattern(TripPattern tripPattern)
Get the most up-to-date timetable for the given TripPattern, as of right now.
|
Modifier and Type | Method and Description |
---|---|
TripPattern |
OnboardVertex.getTripPattern() |
Constructor and Description |
---|
OnboardVertex(Graph g,
String label,
TripPattern tripPattern,
Stop stop) |
PatternArriveVertex(Graph g,
TripPattern pattern,
int stopIndex)
constructor for table trip patterns
|
PatternArriveVertex(Graph g,
TripPattern pattern,
int stopIndex,
Stop stop)
constructor for temporary trip patterns
|
PatternDepartVertex(Graph g,
TripPattern pattern,
int stopIndex)
constructor for table trip patterns
|
PatternDepartVertex(Graph g,
TripPattern pattern,
int stopIndex,
Stop stop)
constructor for temporary trip patterns
|
PatternStopVertex(Graph g,
String label,
TripPattern tripPattern,
Stop stop) |
Constructor and Description |
---|
TemporaryPatternArriveVertex(TripPattern pattern,
int stopIndex,
Stop stop) |
TemporaryPatternDepartVertex(TripPattern pattern,
int stopIndex,
Stop stop) |
Modifier and Type | Method and Description |
---|---|
TripPattern |
TripPatternCache.getOrCreateTripPattern(StopPattern stopPattern,
Route route,
Graph graph)
Get cached trip pattern or create one if it doesn't exist yet.
|
Copyright © 2020. All rights reserved.