Package com.graphhopper.routing
Class AlternativeRouteEdgeCH
java.lang.Object
com.graphhopper.routing.AbstractBidirAlgo
com.graphhopper.routing.AbstractBidirCHAlgo
com.graphhopper.routing.AbstractBidirectionEdgeCHNoSOD
com.graphhopper.routing.DijkstraBidirectionEdgeCHNoSOD
com.graphhopper.routing.AlternativeRouteEdgeCH
- All Implemented Interfaces:
EdgeToEdgeRoutingAlgorithm
,RoutingAlgorithm
Minimum number-of-moving-parts implementation of alternative route search with
contraction hierarchies.
"Alternative Routes in Road Networks" (Abraham et al.)
- Author:
- michaz
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
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.DijkstraBidirectionEdgeCHNoSOD
createEntry, createStartEntry, getName, updateEntry
Methods inherited from class com.graphhopper.routing.AbstractBidirectionEdgeCHNoSOD
accept, getIncomingEdge, postInitFrom, postInitTo, updateBestPath
Methods inherited from class com.graphhopper.routing.AbstractBidirCHAlgo
calcWeight, calcWeight, createEmptyPath, extractPath, fillEdgesFromUsingFilter, fillEdgesToUsingFilter, getInEdgeWeight, initCollections, setPathExtractorSupplier, toString
Methods inherited from class com.graphhopper.routing.AbstractBidirAlgo
bwdSearchCanBeStopped, calcPath, calcPath, checkAlreadyRun, fromEntryCanBeSkipped, fwdSearchCanBeStopped, getCurrentFromWeight, getCurrentToWeight, initFrom, initTo, isMaxVisitedNodesExceeded, isTimeoutExceeded, postInit, runAlgo, setMaxVisitedNodes, setTimeoutMillis, setUpdateBestPath, setupFinishTime, toEntryCanBeSkipped
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, setMaxVisitedNodes, setTimeoutMillis
-
Constructor Details
-
AlternativeRouteEdgeCH
-
-
Method Details
-
finished
public boolean finished()- Overrides:
finished
in classAbstractBidirCHAlgo
-
getVisitedNodes
public int getVisitedNodes()Description copied from interface:RoutingAlgorithm
Returns the visited nodes after searching. Useful for debugging.- Specified by:
getVisitedNodes
in interfaceRoutingAlgorithm
- Overrides:
getVisitedNodes
in classAbstractBidirAlgo
-
calcPaths
Description copied from interface:RoutingAlgorithm
Calculates multiple possibilities for a path.- Specified by:
calcPaths
in interfaceRoutingAlgorithm
- Overrides:
calcPaths
in classAbstractBidirAlgo
- See Also:
-