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 classstatic class -
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.DijkstraBidirectionEdgeCHNoSOD
createEntry, createStartEntry, getName, updateEntryMethods inherited from class com.graphhopper.routing.AbstractBidirectionEdgeCHNoSOD
accept, getIncomingEdge, postInitFrom, postInitTo, updateBestPathMethods inherited from class com.graphhopper.routing.AbstractBidirCHAlgo
calcWeight, calcWeight, createEmptyPath, extractPath, fillEdgesFromUsingFilter, fillEdgesToUsingFilter, getInEdgeWeight, initCollections, setPathExtractorSupplier, toStringMethods 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, toEntryCanBeSkippedMethods 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, setMaxVisitedNodes, setTimeoutMillis
-
Constructor Details
-
AlternativeRouteEdgeCH
-
-
Method Details
-
finished
public boolean finished()- Overrides:
finishedin classAbstractBidirCHAlgo
-
getVisitedNodes
public int getVisitedNodes()Description copied from interface:RoutingAlgorithmReturns the visited nodes after searching. Useful for debugging.- Specified by:
getVisitedNodesin interfaceRoutingAlgorithm- Overrides:
getVisitedNodesin classAbstractBidirAlgo
-
calcPaths
Description copied from interface:RoutingAlgorithmCalculates multiple possibilities for a path.- Specified by:
calcPathsin interfaceRoutingAlgorithm- Overrides:
calcPathsin classAbstractBidirAlgo- See Also:
-