public class StreetSpeedSnapshot extends Object
Constructor and Description |
---|
StreetSpeedSnapshot(Map<Segment,SegmentSpeedSample> samples) |
Modifier and Type | Method and Description |
---|---|
double |
getSpeed(StreetEdge edge,
TraverseMode traverseMode,
long timeMillis)
Get the speed for traversing the given edge with the given mode at the given time.
|
public StreetSpeedSnapshot(Map<Segment,SegmentSpeedSample> samples)
public double getSpeed(StreetEdge edge, TraverseMode traverseMode, long timeMillis)
Copyright © 2018. All rights reserved.