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 class
This 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 DecimalEncodedValue
AverageSlope.create()
static DecimalEncodedValue
Curvature.create()
static DecimalEncodedValue
FerrySpeed.create()
static DecimalEncodedValue
MaxAxleLoad.create()
Currently enables to store 0.5 to max=0.5*2⁷ tons and infinity.static DecimalEncodedValue
MaxHeight.create()
Currently enables to store 0.1 to max=0.1*2⁷m and infinity.static DecimalEncodedValue
MaxLength.create()
Currently enables to store 0.1 to max=0.1*2⁷m and infinity.static DecimalEncodedValue
MaxSlope.create()
static DecimalEncodedValue
MaxSpeed.create()
static DecimalEncodedValue
MaxWeight.create()
Currently enables to store 0.1 to max=0.1*2⁹ tons and infinity.static DecimalEncodedValue
MaxWidth.create()
Currently enables to store 0.1 to max=0.1*2⁷m and infinity.static DecimalEncodedValue
Orientation.create()
static DecimalEncodedValue
This creates an EncodedValue specifically for the turn costsstatic DecimalEncodedValue
static DecimalEncodedValue
EncodedValueLookup.getDecimalEncodedValue
(String key) -
Uses of DecimalEncodedValue in com.graphhopper.routing.querygraph
Methods in com.graphhopper.routing.querygraph with parameters of type DecimalEncodedValueModifier and TypeMethodDescriptiondouble
VirtualEdgeIteratorState.get
(DecimalEncodedValue property) double
VirtualEdgeIteratorState.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 double
FerrySpeedCalculator.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 DecimalEncodedValue
AbstractAverageSpeedParser.avgSpeedEnc
protected final DecimalEncodedValue
BikeCommonPriorityParser.avgSpeedEnc
protected final DecimalEncodedValue
AbstractAverageSpeedParser.ferrySpeedEnc
protected final DecimalEncodedValue
BikeCommonPriorityParser.priorityEnc
protected final DecimalEncodedValue
FootPriorityParser.priorityWayEncoder
Methods in com.graphhopper.routing.util.parsers that return DecimalEncodedValueModifier and TypeMethodDescriptionfinal DecimalEncodedValue
AbstractAverageSpeedParser.getAverageSpeedEnc()
final DecimalEncodedValue
BikeCommonPriorityParser.getPriorityEnc()
Methods in com.graphhopper.routing.util.parsers with parameters of type DecimalEncodedValueModifier and TypeMethodDescriptionvoid
DefaultMaxSpeedParser.init
(DecimalEncodedValue ruralMaxSpeedEnc, DecimalEncodedValue urbanMaxSpeedEnc, EdgeIntAccess externalAccess) Constructors in com.graphhopper.routing.util.parsers with parameters of type DecimalEncodedValueModifierConstructorDescriptionprotected
AbstractAverageSpeedParser
(DecimalEncodedValue speedEnc, DecimalEncodedValue ferrySpeedEnc) BikeAverageSpeedParser
(DecimalEncodedValue speedEnc, EnumEncodedValue<Smoothness> smoothnessEnc, DecimalEncodedValue ferrySpeedEnc) protected
BikeCommonAverageSpeedParser
(DecimalEncodedValue speedEnc, EnumEncodedValue<Smoothness> smoothnessEnc, DecimalEncodedValue ferrySpeedEnc) protected
BikeCommonPriorityParser
(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) protected
FootPriorityParser
(DecimalEncodedValue priorityEnc, EnumEncodedValue<RouteNetwork> footRouteEnc) protected
MountainBikeAverageSpeedParser
(DecimalEncodedValue speedEnc, EnumEncodedValue<Smoothness> smoothnessEnc, DecimalEncodedValue ferrySpeedEnc) protected
MountainBikePriorityParser
(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) protected
RacingBikeAverageSpeedParser
(DecimalEncodedValue speedEnc, EnumEncodedValue<Smoothness> smoothnessEnc, DecimalEncodedValue ferrySpeedEnc) protected
RacingBikePriorityParser
(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 void
OSMValueExtractor.extractMeter
(int edgeId, EdgeIntAccess edgeIntAccess, ReaderWay way, DecimalEncodedValue valueEncoder, List<String> keys) static void
OSMValueExtractor.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 DecimalEncodedValueModifierConstructorDescriptionDefaultTurnCostProvider
(BooleanEncodedValue turnRestrictionEnc, DecimalEncodedValue orientationEnc, Graph graph, TurnCostsConfig tcConfig) SpeedWeighting
(DecimalEncodedValue speedEnc) SpeedWeighting
(DecimalEncodedValue speedEnc, DecimalEncodedValue turnCostEnc, TurnCostStorage turnCostStorage, double uTurnCosts) SpeedWeighting
(DecimalEncodedValue speedEnc, TurnCostProvider turnCostProvider) -
Uses of DecimalEncodedValue in com.graphhopper.storage
Methods in com.graphhopper.storage with parameters of type DecimalEncodedValueModifier and TypeMethodDescriptiondouble
TurnCostStorage.get
(DecimalEncodedValue dev, int fromEdge, int viaNode, int toEdge) double
TurnCostStorage.Iterator.getCost
(DecimalEncodedValue encodedValue) void
TurnCostStorage.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 void
GHUtility.addRandomTurnCosts
(Graph graph, long seed, BooleanEncodedValue accessEnc, DecimalEncodedValue turnCostEnc, int maxTurnCost, TurnCostStorage turnCostStorage) static void
GHUtility.buildRandomGraph
(Graph graph, Random random, int numNodes, double meanDegree, boolean allowZeroDistance, DecimalEncodedValue speedEnc, Double speed, double pBothDir, double pRandomDistanceOffset) double
EdgeIteratorState.get
(DecimalEncodedValue property) double
EdgeIteratorState.getReverse
(DecimalEncodedValue property) static void
GHUtility.printGraphForUnitTest
(Graph g, DecimalEncodedValue speedEnc) static void
GHUtility.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 EdgeIteratorState
GHUtility.setSpeed
(double averageSpeed, boolean fwd, boolean bwd, BooleanEncodedValue accessEnc, DecimalEncodedValue avSpeedEnc, EdgeIteratorState edge) static void
GHUtility.setSpeed
(double fwdSpeed, double bwdSpeed, BooleanEncodedValue accessEnc, DecimalEncodedValue speedEnc, EdgeIteratorState... edges) static void
GHUtility.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 DecimalEncodedValueModifierConstructorDescriptionDecimalDetails
(String name, DecimalEncodedValue ev) DecimalDetails
(String name, DecimalEncodedValue ev, String infinityJsonValue, double precision)