com.graphhopper.routing.ev.Curvature Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of graphhopper-core Show documentation
Show all versions of graphhopper-core Show documentation
GraphHopper is a fast and memory efficient Java road routing engine
working seamlessly with OpenStreetMap data.
package com.graphhopper.routing.ev;
public class Curvature {
public static final String KEY = "curvature";
public static DecimalEncodedValue create() {
// for now save a bit: ignore all too low values and set them to the minimum value instead
return new DecimalEncodedValueImpl(KEY, 4, 0.25, 0.05,
false, false, false);
}
}