Class CustomWeighting.Parameters
java.lang.Object
com.graphhopper.routing.weighting.custom.CustomWeighting.Parameters
- Enclosing class:
- CustomWeighting
-
Constructor Summary
ConstructorsConstructorDescriptionParameters
(CustomWeighting.EdgeToDoubleMapping edgeToSpeedMapping, CustomWeighting.MaxCalc maxSpeedCalc, CustomWeighting.EdgeToDoubleMapping edgeToPriorityMapping, CustomWeighting.MaxCalc maxPrioCalc, double distanceInfluence, double headingPenaltySeconds) -
Method Summary
Modifier and TypeMethodDescriptiondouble
double
-
Constructor Details
-
Parameters
public Parameters(CustomWeighting.EdgeToDoubleMapping edgeToSpeedMapping, CustomWeighting.MaxCalc maxSpeedCalc, CustomWeighting.EdgeToDoubleMapping edgeToPriorityMapping, CustomWeighting.MaxCalc maxPrioCalc, double distanceInfluence, double headingPenaltySeconds)
-
-
Method Details
-
getEdgeToSpeedMapping
-
getEdgeToPriorityMapping
-
getMaxSpeedCalc
-
getMaxPrioCalc
-
getDistanceInfluence
public double getDistanceInfluence() -
getHeadingPenaltySeconds
public double getHeadingPenaltySeconds()
-