Package com.graphhopper.routing.ev
Class MaxWeight
java.lang.Object
com.graphhopper.routing.ev.MaxWeight
One of the four logistic attributes that can be stored per edge.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DecimalEncodedValue
create()
Currently enables to store 0.1 to max=0.1*2⁸ tons and infinity.
-
Field Details
-
KEY
- See Also:
-
-
Constructor Details
-
MaxWeight
public MaxWeight()
-
-
Method Details
-
create
Currently enables to store 0.1 to max=0.1*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.
-