Tabnine Logo
PrepareContractionHierarchies.prepareNodes
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: graphhopper/graphhopper

protected void runGraphContraction() {
  if (!prepareNodes())
    return;
  contractNodes();
}
origin: com.graphhopper/graphhopper-core

protected void runGraphContraction() {
  if (!prepareNodes())
    return;
  contractNodes();
}
origin: com.graphhopper/graphhopper

@Override
public void doWork()
{
  if (prepareFlagEncoder == null)
    throw new IllegalStateException("No vehicle encoder set.");
  if (prepareWeighting == null)
    throw new IllegalStateException("No weight calculation set.");
  allSW.start();
  super.doWork();
  initFromGraph();
  if (!prepareNodes())
    return;
  contractNodes();
}
origin: com.rgi-corp/graphhopper

@Override
public void doWork() {
  if (prepareWeighting == null)
    throw new IllegalStateException("No weight calculation set.");
  allSW.start();
  super.doWork();
  initFromGraph();
  if (!prepareNodes())
    return;
  contractNodes();
}
com.graphhopper.routing.chPrepareContractionHierarchiesprepareNodes

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
  • addShortcuts
    Introduces the necessary shortcuts for adjNode v in the graph.
  • findShortcuts
    Finds shortcuts, does not change the underlying graph.
  • fromGraphHopperStorage
  • getCoords
  • fromGraphHopperStorage,
  • getCoords,
  • getOrigEdgeCount,
  • setLazyUpdates,
  • setLogMessages,
  • setNeighborUpdates,
  • setOrigEdgeCount,
  • setPeriodicUpdates,
  • createAStarBidirection

Popular in Java

  • Reactive rest calls using spring rest template
  • addToBackStack (FragmentTransaction)
  • getExternalFilesDir (Context)
  • runOnUiThread (Activity)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Best plugins for Eclipse
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