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

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

Best Java code snippets using com.graphhopper.routing.ch.PrepareContractionHierarchies.contractNodes (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.chPrepareContractionHierarchiescontractNodes

Popular methods of PrepareContractionHierarchies

  • getWeighting
  • <init>
  • doWork
  • calculatePriority
    Calculates the priority of adjNode v without changing the graph. Warning: the calculated priority mu
  • close
  • getTimesAsString
  • initFromGraph
  • prepareNodes
  • 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

  • Start an intent from android
  • setScale (BigDecimal)
  • runOnUiThread (Activity)
  • requestLocationUpdates (LocationManager)
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • JLabel (javax.swing)
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Top Sublime Text plugins
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