Uses of Interface
com.graphhopper.routing.ev.DecimalEncodedValue
Packages that use DecimalEncodedValue
Package
Description
-
Uses of DecimalEncodedValue in com.graphhopper.routing.ev
Classes in com.graphhopper.routing.ev that implement DecimalEncodedValueModifier and TypeClassDescriptionfinal classThis class holds a signed decimal value and stores it as an integer value via a conversion factor and a certain number of bits that determine the maximum value.Methods in com.graphhopper.routing.ev that return DecimalEncodedValueModifier and TypeMethodDescriptionstatic DecimalEncodedValueAverageSlope.create()static DecimalEncodedValueCurvature.create()static DecimalEncodedValueFerrySpeed.create()static DecimalEncodedValueMaxAxleLoad.create()Currently enables to store 0.5 to max=0.5*2⁷ tons and infinity.static DecimalEncodedValueMaxHeight.create()Currently enables to store 0.1 to max=0.1*2⁷m and infinity.static DecimalEncodedValueMaxLength.create()Currently enables to store 0.1 to max=0.1*2⁷m and infinity.static DecimalEncodedValueMaxSlope.create()static DecimalEncodedValueMaxSpeed.create()static DecimalEncodedValueMaxWeight.create()Currently enables to store 0.1 to max=0.1*2⁹ tons and infinity.static DecimalEncodedValueMaxWidth.create()Currently enables to store 0.1 to max=0.1*2⁷m and infinity.static DecimalEncodedValueOrientation.create()static DecimalEncodedValueThis creates an EncodedValue specifically for the turn costsstatic DecimalEncodedValuestatic DecimalEncodedValueEncodedValueLookup.getDecimalEncodedValue(String key) -
Uses of DecimalEncodedValue in com.graphhopper.routing.querygraph
Methods in com.graphhopper.routing.querygraph with parameters of type DecimalEncodedValueModifier and TypeMethodDescriptiondoubleVirtualEdgeIteratorState.get(DecimalEncodedValue property) doubleVirtualEdgeIteratorState.getReverse(DecimalEncodedValue property) VirtualEdgeIteratorState.set(DecimalEncodedValue property, double value) VirtualEdgeIteratorState.set(DecimalEncodedValue property, double fwd, double bwd) VirtualEdgeIteratorState.setReverse(DecimalEncodedValue property, double value) -
Uses of DecimalEncodedValue in com.graphhopper.routing.util
Methods in com.graphhopper.routing.util that return DecimalEncodedValueModifier and TypeMethodDescriptionEncodingManager.getDecimalEncodedValue(String key) EncodingManager.getTurnDecimalEncodedValue(String key) MaxSpeedCalculator.getUrbanMaxSpeedEnc()Methods in com.graphhopper.routing.util with parameters of type DecimalEncodedValueModifier and TypeMethodDescriptionstatic doubleFerrySpeedCalculator.minmax(double speed, DecimalEncodedValue avgSpeedEnc) Constructors in com.graphhopper.routing.util with parameters of type DecimalEncodedValueModifierConstructorDescriptionCurvatureCalculator(DecimalEncodedValue curvatureEnc) FerrySpeedCalculator(DecimalEncodedValue ferrySpeedEnc) SlopeCalculator(DecimalEncodedValue max, DecimalEncodedValue averageEnc) -
Uses of DecimalEncodedValue in com.graphhopper.routing.util.parsers
Fields in com.graphhopper.routing.util.parsers declared as DecimalEncodedValueModifier and TypeFieldDescriptionprotected final DecimalEncodedValueAbstractAverageSpeedParser.avgSpeedEncprotected final DecimalEncodedValueBikeCommonPriorityParser.avgSpeedEncprotected final DecimalEncodedValueAbstractAverageSpeedParser.ferrySpeedEncprotected final DecimalEncodedValueBikeCommonPriorityParser.priorityEncprotected final DecimalEncodedValueFootPriorityParser.priorityWayEncoderMethods in com.graphhopper.routing.util.parsers that return DecimalEncodedValueModifier and TypeMethodDescriptionfinal DecimalEncodedValueAbstractAverageSpeedParser.getAverageSpeedEnc()final DecimalEncodedValueBikeCommonPriorityParser.getPriorityEnc()Methods in com.graphhopper.routing.util.parsers with parameters of type DecimalEncodedValueModifier and TypeMethodDescriptionvoidDefaultMaxSpeedParser.init(DecimalEncodedValue ruralMaxSpeedEnc, DecimalEncodedValue urbanMaxSpeedEnc, EdgeIntAccess externalAccess) Constructors in com.graphhopper.routing.util.parsers with parameters of type DecimalEncodedValueModifierConstructorDescriptionprotectedAbstractAverageSpeedParser(DecimalEncodedValue speedEnc, DecimalEncodedValue ferrySpeedEnc) BikeAverageSpeedParser(DecimalEncodedValue speedEnc, EnumEncodedValue<Smoothness> smoothnessEnc, DecimalEncodedValue ferrySpeedEnc) protectedBikeCommonAverageSpeedParser(DecimalEncodedValue speedEnc, EnumEncodedValue<Smoothness> smoothnessEnc, DecimalEncodedValue ferrySpeedEnc) protectedBikeCommonPriorityParser(DecimalEncodedValue priorityEnc, DecimalEncodedValue avgSpeedEnc, EnumEncodedValue<RouteNetwork> bikeRouteEnc) BikePriorityParser(DecimalEncodedValue priorityEnc, DecimalEncodedValue speedEnc, EnumEncodedValue<RouteNetwork> bikeRouteEnc) CarAverageSpeedParser(DecimalEncodedValue speedEnc, DecimalEncodedValue ferrySpeed) FootAverageSpeedParser(DecimalEncodedValue speedEnc, DecimalEncodedValue ferrySpeedEnc) protectedFootPriorityParser(DecimalEncodedValue priorityEnc, EnumEncodedValue<RouteNetwork> footRouteEnc) protectedMountainBikeAverageSpeedParser(DecimalEncodedValue speedEnc, EnumEncodedValue<Smoothness> smoothnessEnc, DecimalEncodedValue ferrySpeedEnc) protectedMountainBikePriorityParser(DecimalEncodedValue speedEnc, DecimalEncodedValue priorityEnc, EnumEncodedValue<RouteNetwork> bikeRouteEnc) OrientationCalculator(DecimalEncodedValue orientationEnc) OSMMaxAxleLoadParser(DecimalEncodedValue maxAxleLoadEncoder) OSMMaxHeightParser(DecimalEncodedValue heightEncoder) OSMMaxLengthParser(DecimalEncodedValue lengthEncoder) OSMMaxSpeedParser(DecimalEncodedValue carMaxSpeedEnc) OSMMaxWeightParser(DecimalEncodedValue weightEncoder) OSMMaxWidthParser(DecimalEncodedValue widthEncoder) protectedRacingBikeAverageSpeedParser(DecimalEncodedValue speedEnc, EnumEncodedValue<Smoothness> smoothnessEnc, DecimalEncodedValue ferrySpeedEnc) protectedRacingBikePriorityParser(DecimalEncodedValue priorityEnc, DecimalEncodedValue speedEnc, EnumEncodedValue<RouteNetwork> bikeRouteEnc) -
Uses of DecimalEncodedValue in com.graphhopper.routing.util.parsers.helpers
Methods in com.graphhopper.routing.util.parsers.helpers with parameters of type DecimalEncodedValueModifier and TypeMethodDescriptionstatic voidOSMValueExtractor.extractMeter(int edgeId, EdgeIntAccess edgeIntAccess, ReaderWay way, DecimalEncodedValue valueEncoder, List<String> keys) static voidOSMValueExtractor.extractTons(int edgeId, EdgeIntAccess edgeIntAccess, ReaderWay way, DecimalEncodedValue valueEncoder, List<String> keys) -
Uses of DecimalEncodedValue in com.graphhopper.routing.weighting
Constructors in com.graphhopper.routing.weighting with parameters of type DecimalEncodedValueModifierConstructorDescriptionSpeedWeighting(DecimalEncodedValue speedEnc) SpeedWeighting(DecimalEncodedValue speedEnc, DecimalEncodedValue turnCostEnc, TurnCostStorage turnCostStorage, double uTurnCosts) SpeedWeighting(DecimalEncodedValue speedEnc, TurnCostProvider turnCostProvider) -
Uses of DecimalEncodedValue in com.graphhopper.routing.weighting.custom
Methods in com.graphhopper.routing.weighting.custom with parameters of type DecimalEncodedValueModifier and TypeMethodDescriptionstatic doubleCustomWeightingHelper.calcChangeAngle(EdgeIntAccess edgeIntAccess, DecimalEncodedValue orientationEnc, int inEdge, boolean inEdgeReverse, int outEdge, boolean outEdgeReverse) -
Uses of DecimalEncodedValue in com.graphhopper.storage
Methods in com.graphhopper.storage with parameters of type DecimalEncodedValueModifier and TypeMethodDescriptiondoubleTurnCostStorage.get(DecimalEncodedValue dev, int fromEdge, int viaNode, int toEdge) doubleTurnCostStorage.Iterator.getCost(DecimalEncodedValue encodedValue) voidTurnCostStorage.set(DecimalEncodedValue turnCostEnc, int fromEdge, int viaNode, int toEdge, double cost) Sets the turn cost at the viaNode when going from "fromEdge" to "toEdge" -
Uses of DecimalEncodedValue in com.graphhopper.util
Methods in com.graphhopper.util with parameters of type DecimalEncodedValueModifier and TypeMethodDescriptionstatic voidGHUtility.addRandomTurnCosts(Graph graph, long seed, BooleanEncodedValue accessEnc, DecimalEncodedValue turnCostEnc, int maxTurnCost, TurnCostStorage turnCostStorage) static voidGHUtility.buildRandomGraph(Graph graph, Random random, int numNodes, double meanDegree, boolean allowZeroDistance, DecimalEncodedValue speedEnc, Double speed, double pBothDir, double pRandomDistanceOffset) doubleEdgeIteratorState.get(DecimalEncodedValue property) doubleEdgeIteratorState.getReverse(DecimalEncodedValue property) static voidGHUtility.printGraphForUnitTest(Graph g, DecimalEncodedValue speedEnc) static voidGHUtility.printGraphForUnitTest(Graph g, DecimalEncodedValue speedEnc, BBox bBox) EdgeIteratorState.set(DecimalEncodedValue property, double value) EdgeIteratorState.set(DecimalEncodedValue property, double fwd, double bwd) EdgeIteratorState.setReverse(DecimalEncodedValue property, double value) static EdgeIteratorStateGHUtility.setSpeed(double averageSpeed, boolean fwd, boolean bwd, BooleanEncodedValue accessEnc, DecimalEncodedValue avSpeedEnc, EdgeIteratorState edge) static voidGHUtility.setSpeed(double fwdSpeed, double bwdSpeed, BooleanEncodedValue accessEnc, DecimalEncodedValue speedEnc, EdgeIteratorState... edges) static voidGHUtility.setSpeed(double fwdSpeed, double bwdSpeed, BooleanEncodedValue accessEnc, DecimalEncodedValue speedEnc, Collection<EdgeIteratorState> edges) -
Uses of DecimalEncodedValue in com.graphhopper.util.details
Constructors in com.graphhopper.util.details with parameters of type DecimalEncodedValueModifierConstructorDescriptionChangeAngleDetails(DecimalEncodedValue orientationEv) DecimalDetails(String name, DecimalEncodedValue ev) DecimalDetails(String name, DecimalEncodedValue ev, String infinityJsonValue, double precision)