public class PatternInterlineDwell extends Edge implements OnboardEdge
Edge.ValidVertexTypes
Constructor and Description |
---|
PatternInterlineDwell(PatternArriveVertex fromv,
PatternDepartVertex tov) |
PatternInterlineDwell(TripPattern p0,
TripPattern p1) |
Modifier and Type | Method and Description |
---|---|
void |
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.
|
org.locationtech.jts.geom.LineString |
getGeometry() |
String |
getName()
Gets english localized name
|
String |
getName(Locale locale)
Gets wanted localization
|
int |
getStopIndex()
The stop index (within the trip) of the stop this edge comes from.
|
State |
optimisticTraverse(State s0) |
double |
timeLowerBound(RoutingRequest options)
Returns a lower bound on traversal time given the routing options.
|
String |
toString() |
State |
traverse(State state0)
Traverse this edge.
|
double |
weightLowerBound(RoutingRequest options)
Returns a lower bound on edge weight given the routing options.
|
getAzimuth, getDirection, getDisplayGeometry, getDistance, getFromVertex, getId, getToVertex, getTrip, getValidVertexTypes, hasBogusName, hashCode, isEquivalentTo, isPartial, isReverseOf, isRoundabout, vertexTypesValid
public PatternInterlineDwell(TripPattern p0, TripPattern p1)
public PatternInterlineDwell(PatternArriveVertex fromv, PatternDepartVertex tov)
public void add(Trip t1, Trip t2)
public String getName(Locale locale)
Edge
public State optimisticTraverse(State s0)
optimisticTraverse
in class Edge
public double weightLowerBound(RoutingRequest options)
Edge
weightLowerBound
in class Edge
public double timeLowerBound(RoutingRequest options)
Edge
timeLowerBound
in class Edge
public State traverse(State state0)
Edge
public org.locationtech.jts.geom.LineString getGeometry()
getGeometry
in class Edge
public int getStopIndex()
OnboardEdge
getStopIndex
in interface OnboardEdge
Copyright © 2019. All rights reserved.