public class TemporaryDirectPatternHop extends TemporaryPartialPatternHop implements TemporaryEdge
Edge.ValidVertexTypesstopIndex| 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, startHopcanRequestService, getRequestDropoff, getRequestPickup, getServiceArea, getServiceAreaRadius, hasFlexService, hasServiceArea, setRequestDropoff, setRequestDropoff, setRequestPickup, setRequestPickup, setServiceArea, setServiceAreaRadiusgetBeginStop, getDistance, getEndStop, getGeometry, getMode, getName, getName, getStopIndex, optimisticTraverse, setGeometry, toString, traverse, weightLowerBoundgetPatterngetAzimuth, getDirection, getFromVertex, getId, getToVertex, getTrip, getValidVertexTypes, hasBogusName, hashCode, isEquivalentTo, isPartial, isReverseOf, isRoundabout, vertexTypesValidpublic TemporaryDirectPatternHop(FlexPatternHop hop, PatternStopVertex from, PatternStopVertex to, Stop fromStop, Stop toStop, org.locationtech.jts.geom.LineString geometry, int time)
public boolean isUnscheduled()
PartialPatternHopisUnscheduled in class PartialPatternHoppublic boolean isTrivial(RoutingRequest options)
isTrivial in class PartialPatternHoppublic double timeLowerBound(RoutingRequest options)
EdgetimeLowerBound in class PartialPatternHoppublic int getRunningTime(State s0)
getRunningTime in class PartialPatternHoppublic int getWeight(State s0, int runningTime)
getWeight in class PatternHoppublic boolean isDeviatedRouteBoard()
isDeviatedRouteBoard in class PartialPatternHoppublic boolean isDeviatedRouteAlight()
isDeviatedRouteAlight in class PartialPatternHoppublic int getDirectVehicleTime()
getDirectVehicleTime in class PartialPatternHoppublic State traverse(State s0)
Edgetraverse in class PatternHops0 - The State coming into the edge.Copyright © 2020. All rights reserved.