public class DijkstraBidirectionRef extends AbstractNonCHBidirAlgo
'Ref' stands for reference implementation and is using the normal Java-'reference'-way.
additionalEdgeFilter, edgeExplorer, flagEncoder, graph, inEdgeFilter, nodeAccess, outEdgeFilter, weightingbestBwdEntry, bestFwdEntry, bestWeight, bestWeightMapFrom, bestWeightMapOther, bestWeightMapTo, currFrom, currTo, finishedFrom, finishedTo, from, fromOutEdge, maxVisitedNodes, to, toInEdge, traversalMode, updateBestPath| Constructor and Description |
|---|
DijkstraBidirectionRef(Graph graph,
Weighting weighting,
TraversalMode tMode) |
| Modifier and Type | Method and Description |
|---|---|
protected SPTEntry |
createEntry(EdgeIteratorState edge,
double weight,
SPTEntry parent,
boolean reverse)
Creates a new entry of the shortest path tree (a
SPTEntry or one of its subclasses) during a dijkstra
expansion. |
protected SPTEntry |
createStartEntry(int node,
double weight,
boolean reverse)
Creates the root shortest path tree entry for the forward or backward search.
|
String |
getName() |
protected SPTEntry |
getParent(SPTEntry entry) |
accept, calcWeight, createEmptyPath, createPathExtractor, extractPath, fillEdgesFromUsingFilter, fillEdgesToUsingFilter, getInEdgeWeight, getOtherNode, postInitFrom, postInitTo, toString, updateEntrybwdSearchCanBeStopped, calcPath, calcPath, calcPaths, checkAlreadyRun, finished, fromEntryCanBeSkipped, fwdSearchCanBeStopped, getCurrentFromWeight, getCurrentToWeight, getIncomingEdge, getVisitedNodes, initCollections, initFrom, initTo, isMaxVisitedNodesExceeded, postInit, runAlgo, setMaxVisitedNodes, setUpdateBestPath, toEntryCanBeSkipped, updateBestPathclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcalcPathcalcPath, calcPaths, getVisitedNodes, setMaxVisitedNodespublic DijkstraBidirectionRef(Graph graph, Weighting weighting, TraversalMode tMode)
protected SPTEntry createStartEntry(int node, double weight, boolean reverse)
AbstractBidirAlgocreateStartEntry in class AbstractBidirAlgoprotected SPTEntry createEntry(EdgeIteratorState edge, double weight, SPTEntry parent, boolean reverse)
AbstractNonCHBidirAlgoSPTEntry or one of its subclasses) during a dijkstra
expansion.createEntry in class AbstractNonCHBidirAlgoedge - the edge that is currently processed for the expansionweight - the weight the shortest path three entry should carryparent - the parent entry of in the shortest path treereverse - true if we are currently looking at the backward search, false otherwisepublic String getName()
getName in interface RoutingAlgorithmgetName in class AbstractBidirAlgoCopyright © 2012–2020. All rights reserved.