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, outEdgeExplorerFields 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, getParentMethods inherited from class com.graphhopper.routing.AbstractBidirCHAlgo
accept, calcWeight, calcWeight, createEmptyPath, extractPath, fillEdgesFromUsingFilter, fillEdgesToUsingFilter, finished, getInEdgeWeight, initCollections, postInitFrom, postInitTo, setPathExtractorSupplier, toString, updateEntryMethods 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, updateBestPathMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.graphhopper.routing.EdgeToEdgeRoutingAlgorithm
calcPathMethods inherited from interface com.graphhopper.routing.RoutingAlgorithm
calcPath, calcPaths, getVisitedNodes, setMaxVisitedNodes, setTimeoutMillis
-
Constructor Details
-
DijkstraBidirectionCH
-
-
Method Details
-
fromEntryCanBeSkipped
protected boolean fromEntryCanBeSkipped()- Overrides:
fromEntryCanBeSkippedin classAbstractBidirAlgo
-
toEntryCanBeSkipped
protected boolean toEntryCanBeSkipped()- Overrides:
toEntryCanBeSkippedin classAbstractBidirAlgo
-
getName
- Specified by:
getNamein interfaceRoutingAlgorithm- Overrides:
getNamein classDijkstraBidirectionCHNoSOD- Returns:
- name of this algorithm
-