Package com.graphhopper.routing.ev
Class MaxAxleLoad
java.lang.Object
com.graphhopper.routing.ev.MaxAxleLoad
Defines the maximum weight per axle for an edge.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DecimalEncodedValue
create()
Currently enables to store 0.5 to max=0.5*2⁷ tons and infinity.
-
Field Details
-
KEY
- See Also:
-
-
Constructor Details
-
MaxAxleLoad
public MaxAxleLoad()
-
-
Method Details
-
create
Currently enables to store 0.5 to max=0.5*2⁷ tons and infinity. If a value is between the maximum and infinity it is assumed to use the maximum value. To save bits it might make more sense to store only a few values like it was done with the MappedDecimalEncodedValue still handling (or rounding) of unknown values is unclear.
-