Class FindMinMax
java.lang.Object
com.graphhopper.routing.weighting.custom.FindMinMax
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
checkLMConstraints
(CustomModel baseModel, CustomModel queryModel, EncodedValueLookup lookup) This method throws an exception when this CustomModel would decrease the edge weight compared to the specified baseModel as in such a case the optimality of A* with landmarks can no longer be guaranteed (as the preparation is based on baseModel).
-
Constructor Details
-
FindMinMax
public FindMinMax()
-
-
Method Details
-
checkLMConstraints
public static void checkLMConstraints(CustomModel baseModel, CustomModel queryModel, EncodedValueLookup lookup) This method throws an exception when this CustomModel would decrease the edge weight compared to the specified baseModel as in such a case the optimality of A* with landmarks can no longer be guaranteed (as the preparation is based on baseModel).
-