Modifier and Type | Class and Description |
---|---|
static class |
ProfileState.Type
two ways to create a profile state: the initial state, reached via an on-street mode, and subsequent states reached via transit
|
Modifier and Type | Field and Description |
---|---|
ProfileState.Type |
accessType |
int |
lowerBound |
TripPattern[] |
patterns
the trip patterns used to access this stop
|
ProfileState |
previous
the previous state, or null if this is the initial access leg
|
TransitStop |
stop
the location of this state
|
Collection<TripPattern> |
targetPatterns
the patterns that should be boarded from this state
|
int |
upperBound |
Constructor and Description |
---|
ProfileState() |
Modifier and Type | Method and Description |
---|---|
boolean |
containsPattern(TripPattern pattern) |
static ProfileState |
merge(Collection<ProfileState> states,
boolean retainPatterns)
merge all the profile states into a new ProfileState.
|
void |
mergeIn(ProfileState other)
Merge the other profile state into this one, in place
|
ProfileState |
propagate(int delta)
Propagate this state along a segment with a definite time (e.g.
|
ProfileState |
propagate(int deltaMin,
int deltaMax)
Propagate this state along a ride with the given min and max times, to the given transit stop.
|
public int lowerBound
public int upperBound
public ProfileState.Type accessType
public TripPattern[] patterns
public TransitStop stop
public ProfileState previous
public Collection<TripPattern> targetPatterns
public ProfileState propagate(int deltaMin, int deltaMax)
public ProfileState propagate(int delta)
public void mergeIn(ProfileState other)
public boolean containsPattern(TripPattern pattern)
public static ProfileState merge(Collection<ProfileState> states, boolean retainPatterns)
Copyright © 2018. All rights reserved.