Class FindMinMax

java.lang.Object
com.graphhopper.routing.weighting.custom.FindMinMax

public class FindMinMax extends Object
  • 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).