public class TemporaryDirectPatternHop extends TemporaryPartialPatternHop implements TemporaryEdge
Edge.ValidVertexTypes
stopIndex
Constructor and Description |
---|
TemporaryDirectPatternHop(FlexPatternHop hop,
PatternStopVertex from,
PatternStopVertex to,
Stop fromStop,
Stop toStop,
org.locationtech.jts.geom.LineString geometry,
int time) |
Modifier and Type | Method and Description |
---|---|
int |
getDirectVehicleTime() |
int |
getRunningTime(State s0) |
int |
getWeight(State s0,
int runningTime) |
boolean |
isDeviatedRouteAlight() |
boolean |
isDeviatedRouteBoard() |
boolean |
isTrivial(RoutingRequest options) |
boolean |
isUnscheduled()
Return true if "unscheduled" ie call-n-ride
|
double |
timeLowerBound(RoutingRequest options)
Returns a lower bound on traversal time given the routing options.
|
State |
traverse(State s0)
Traverse this edge.
|
endHop, getAlightArea, getBoardArea, getDisplayGeometry, getEndGeometry, getEndIndex, getEndVehicleTime, getFeedId, getOriginalHop, getOriginalHopLength, getPercentageOfHop, getStartGeometry, getStartIndex, getStartVehicleTime, hasAlightArea, hasBoardArea, isDeviatedRouteService, isFlagStopAlight, isFlagStopBoard, isOriginalHop, startHop
canRequestService, getRequestDropoff, getRequestPickup, getServiceArea, getServiceAreaRadius, hasFlexService, hasServiceArea, setRequestDropoff, setRequestDropoff, setRequestPickup, setRequestPickup, setServiceArea, setServiceAreaRadius
getBeginStop, getDistance, getEndStop, getGeometry, getMode, getName, getName, getStopIndex, optimisticTraverse, setGeometry, toString, traverse, weightLowerBound
getPattern
getAzimuth, getDirection, getFromVertex, getId, getToVertex, getTrip, getValidVertexTypes, hasBogusName, hashCode, isEquivalentTo, isPartial, isReverseOf, isRoundabout, vertexTypesValid
public TemporaryDirectPatternHop(FlexPatternHop hop, PatternStopVertex from, PatternStopVertex to, Stop fromStop, Stop toStop, org.locationtech.jts.geom.LineString geometry, int time)
public boolean isUnscheduled()
PartialPatternHop
isUnscheduled
in class PartialPatternHop
public boolean isTrivial(RoutingRequest options)
isTrivial
in class PartialPatternHop
public double timeLowerBound(RoutingRequest options)
Edge
timeLowerBound
in class PartialPatternHop
public int getRunningTime(State s0)
getRunningTime
in class PartialPatternHop
public int getWeight(State s0, int runningTime)
getWeight
in class PatternHop
public boolean isDeviatedRouteBoard()
isDeviatedRouteBoard
in class PartialPatternHop
public boolean isDeviatedRouteAlight()
isDeviatedRouteAlight
in class PartialPatternHop
public int getDirectVehicleTime()
getDirectVehicleTime
in class PartialPatternHop
public State traverse(State s0)
Edge
traverse
in class PatternHop
s0
- The State coming into the edge.Copyright © 2019. All rights reserved.