- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {}
public PrepareContractionHierarchies(CHGraph chGraph, Weighting weighting, TraversalMode traversalMode) { this.prepareGraph = chGraph; this.traversalMode = traversalMode; this.weighting = weighting; prepareWeighting = new PreparationWeighting(weighting); this.params = Params.forTraversalMode(traversalMode); }
public PrepareContractionHierarchies(Directory dir, GraphHopperStorage ghStorage, CHGraph chGraph, TraversalMode traversalMode) { this.dir = dir; this.ghStorage = ghStorage; this.prepareGraph = (CHGraphImpl) chGraph; this.traversalMode = traversalMode; this.weighting = ((CHGraphImpl) chGraph).getWeighting(); prepareWeighting = new PreparationWeighting(weighting); this.params = Params.forTraversalMode(traversalMode); }