Codota Logo
PrepareContractionHierarchies.prepareNodes
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
FileOutputStream f =
  • Codota IconFile file;new FileOutputStream(file)
  • Codota IconString name;new FileOutputStream(name)
  • Codota IconFile file;new FileOutputStream(file, true)
  • Smart code suggestions by Codota
}
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

  • Making http requests using okhttp
  • runOnUiThread (Activity)
  • putExtra (Intent)
  • getExternalFilesDir (Context)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • BufferedReader (java.io)
    Reads text from a character-input stream, buffering characters so as to provide for the efficient re
  • PriorityQueue (java.util)
    An unbounded priority Queue based on a priority heap. The elements of the priority queue are ordered
  • Vector (java.util)
    The Vector class implements a growable array of objects. Like an array, it contains components that
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now