Package com.graphhopper.routing
Class DijkstraBidirectionCH
java.lang.Object
com.graphhopper.routing.AbstractBidirAlgo
com.graphhopper.routing.AbstractBidirCHAlgo
com.graphhopper.routing.DijkstraBidirectionCHNoSOD
com.graphhopper.routing.DijkstraBidirectionCH
- All Implemented Interfaces:
EdgeToEdgeRoutingAlgorithm
,RoutingAlgorithm
Uses a very simple version of stall-on-demand (SOD) for CH queries to prevent exploring nodes that can not be part
of a shortest path. When a node that is about to be settled is stallable it is not expanded. However, no further search
for neighboring stallable nodes is performed (sometimes called 'aggressive' stalling in the literature). Some experimenting
showed that due to the overhead for such aggressive stalling the routing does not become faster, see #240.
- Author:
- easbar
-
Field Summary
Fields inherited from class com.graphhopper.routing.AbstractBidirCHAlgo
graph, inEdgeExplorer, levelEdgeFilter, nodeAccess, outEdgeExplorer
Fields inherited from class com.graphhopper.routing.AbstractBidirAlgo
bestBwdEntry, bestFwdEntry, bestWeight, bestWeightMapFrom, bestWeightMapOther, bestWeightMapTo, currFrom, currTo, finishedFrom, finishedTo, from, fromOutEdge, maxVisitedNodes, timeoutMillis, to, toInEdge, traversalMode, updateBestPath
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.graphhopper.routing.DijkstraBidirectionCHNoSOD
createEntry, createStartEntry, getParent
Methods inherited from class com.graphhopper.routing.AbstractBidirCHAlgo
accept, calcWeight, calcWeight, createEmptyPath, extractPath, fillEdgesFromUsingFilter, fillEdgesToUsingFilter, finished, getInEdgeWeight, initCollections, postInitFrom, postInitTo, setPathExtractorSupplier, toString, updateEntry
Methods inherited from class com.graphhopper.routing.AbstractBidirAlgo
bwdSearchCanBeStopped, calcPath, calcPath, calcPaths, checkAlreadyRun, fwdSearchCanBeStopped, getCurrentFromWeight, getCurrentToWeight, getIncomingEdge, getVisitedNodes, initFrom, initTo, isMaxVisitedNodesExceeded, isTimeoutExceeded, postInit, runAlgo, setMaxVisitedNodes, setTimeoutMillis, setUpdateBestPath, setupFinishTime, updateBestPath
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.graphhopper.routing.EdgeToEdgeRoutingAlgorithm
calcPath
Methods inherited from interface com.graphhopper.routing.RoutingAlgorithm
calcPath, calcPaths, getVisitedNodes, setMaxVisitedNodes, setTimeoutMillis
-
Constructor Details
-
DijkstraBidirectionCH
-
-
Method Details
-
fromEntryCanBeSkipped
protected boolean fromEntryCanBeSkipped()- Overrides:
fromEntryCanBeSkipped
in classAbstractBidirAlgo
-
toEntryCanBeSkipped
protected boolean toEntryCanBeSkipped()- Overrides:
toEntryCanBeSkipped
in classAbstractBidirAlgo
-
getName
- Specified by:
getName
in interfaceRoutingAlgorithm
- Overrides:
getName
in classDijkstraBidirectionCHNoSOD
- Returns:
- name of this algorithm
-