public class AverageSpeedDetails extends AbstractPathDetailsBuilder
| Constructor and Description |
|---|
AverageSpeedDetails(Weighting weighting) |
AverageSpeedDetails(Weighting weighting,
double precision) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
getCurrentValue()
The value of the Path at this moment, that should be stored in the PathDetail when calling startInterval
|
boolean |
isEdgeDifferentToLastEdge(EdgeIteratorState edge) |
build, endInterval, getName, startInterval, toStringpublic AverageSpeedDetails(Weighting weighting)
public AverageSpeedDetails(Weighting weighting, double precision)
precision - e.g. 0.1 to avoid creating too many path details, i.e. round the speed to the specified precision
before detecting a change.protected Object getCurrentValue()
AbstractPathDetailsBuildergetCurrentValue in class AbstractPathDetailsBuilderpublic boolean isEdgeDifferentToLastEdge(EdgeIteratorState edge)
Copyright © 2012–2020. All rights reserved.