public class DijkstraBidirectionRef extends AbstractBidirAlgo
'Ref' stands for reference implementation and is using the normal Java-'reference'-way.
bestPath, bestWeightMapFrom, bestWeightMapOther, bestWeightMapTo, currFrom, currTo, finishedFrom, finishedTo, from, fromOutEdge, to, toInEdgeadditionalEdgeFilter, flagEncoder, graph, inEdgeExplorer, maxVisitedNodes, nodeAccess, outEdgeExplorer, traversalMode, weighting| Constructor and Description |
|---|
DijkstraBidirectionRef(Graph graph,
Weighting weighting,
TraversalMode tMode) |
| Modifier and Type | Method and Description |
|---|---|
protected SPTEntry |
createEntry(EdgeIteratorState edge,
int incEdge,
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, bwdSearchCanBeStopped, calcPath, calcPath, calcWeight, createAndInitPath, extractPath, fillEdgesFromUsingFilter, fillEdgesToUsingFilter, finished, fromEntryCanBeSkipped, fwdSearchCanBeStopped, getCurrentFromWeight, getCurrentToWeight, getIncomingEdge, getOrigEdgeId, getTraversalId, getVisitedNodes, initCollections, initFrom, initTo, postInit, postInitFrom, postInitTo, runAlgo, setUpdateBestPath, toEntryCanBeSkipped, updateBestPath, updateEntryaccept, calcPaths, checkAlreadyRun, createEmptyPath, isMaxVisitedNodesExceeded, setEdgeFilter, setMaxVisitedNodes, toStringpublic DijkstraBidirectionRef(Graph graph, Weighting weighting, TraversalMode tMode)
protected SPTEntry createStartEntry(int node, double weight, boolean reverse)
AbstractBidirAlgocreateStartEntry in class AbstractBidirAlgoprotected SPTEntry createEntry(EdgeIteratorState edge, int incEdge, double weight, SPTEntry parent, boolean reverse)
AbstractBidirAlgoSPTEntry or one of its subclasses) during a dijkstra
expansion.createEntry in class AbstractBidirAlgoedge - the edge that is currently processed for the expansionincEdge - the id of the edge that is incoming to the node the edge is pointed at. usually this is the same as
edge.getEdge(), but for edge-based CH and in case edge is a shortcut incEdge is the original edge
that is incoming to the nodeweight - 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 AbstractRoutingAlgorithmCopyright © 2012–2019. All rights reserved.