congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
PrepareContractionHierarchies.setParams
Code IndexAdd Tabnine to your IDE (free)

How to use
setParams
method
in
com.graphhopper.routing.ch.PrepareContractionHierarchies

Best Java code snippets using com.graphhopper.routing.ch.PrepareContractionHierarchies.setParams (Showing top 2 results out of 315)

origin: graphhopper/graphhopper

public void createPreparations(GraphHopperStorage ghStorage, TraversalMode traversalMode) {
  if (!isEnabled() || !preparations.isEmpty())
    return;
  if (weightings.isEmpty())
    throw new IllegalStateException("No CH weightings found");
  traversalMode = getNodeBase();
  for (Weighting weighting : getWeightings()) {
    PrepareContractionHierarchies tmpPrepareCH = PrepareContractionHierarchies.fromGraphHopperStorage(
        ghStorage, weighting, traversalMode);
    tmpPrepareCH.setParams(pMap);
    addPreparation(tmpPrepareCH);
  }
}
origin: com.graphhopper/graphhopper-core

public void createPreparations(GraphHopperStorage ghStorage, TraversalMode traversalMode) {
  if (!isEnabled() || !preparations.isEmpty())
    return;
  if (weightings.isEmpty())
    throw new IllegalStateException("No CH weightings found");
  traversalMode = getNodeBase();
  for (Weighting weighting : getWeightings()) {
    PrepareContractionHierarchies tmpPrepareCH = new PrepareContractionHierarchies(
        new GHDirectory("", DAType.RAM_INT), ghStorage, ghStorage.getGraph(CHGraph.class, weighting), traversalMode);
    tmpPrepareCH.setParams(pMap);
    addPreparation(tmpPrepareCH);
  }
}
com.graphhopper.routing.chPrepareContractionHierarchiessetParams

Popular methods of PrepareContractionHierarchies

  • getWeighting
  • <init>
  • doWork
  • calculatePriority
    Calculates the priority of adjNode v without changing the graph. Warning: the calculated priority mu
  • close
  • contractNodes
  • getTimesAsString
  • initFromGraph
  • prepareNodes
  • addShortcuts
    Introduces the necessary shortcuts for adjNode v in the graph.
  • findShortcuts
    Finds shortcuts, does not change the underlying graph.
  • fromGraphHopperStorage
  • findShortcuts,
  • fromGraphHopperStorage,
  • getCoords,
  • getOrigEdgeCount,
  • setLazyUpdates,
  • setLogMessages,
  • setNeighborUpdates,
  • setOrigEdgeCount,
  • setPeriodicUpdates,
  • createAStarBidirection

Popular in Java

  • Creating JSON documents from java classes using gson
  • compareTo (BigDecimal)
  • getSharedPreferences (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • JCheckBox (javax.swing)
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now