public class DijkstraBidirectionEdgeCHNoSOD extends AbstractBidirectionEdgeCHNoSOD
graph, inEdgeExplorer, levelEdgeFilter, nodeAccess, outEdgeExplorer
bestBwdEntry, bestFwdEntry, bestWeight, bestWeightMapFrom, bestWeightMapOther, bestWeightMapTo, currFrom, currTo, finishedFrom, finishedTo, from, fromOutEdge, maxVisitedNodes, to, toInEdge, traversalMode, updateBestPath
Constructor and Description |
---|
DijkstraBidirectionEdgeCHNoSOD(RoutingCHGraph graph) |
Modifier and Type | Method and Description |
---|---|
protected CHEntry |
createEntry(int edge,
int adjNode,
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 CHEntry |
createStartEntry(int node,
double weight,
boolean reverse)
Creates the root shortest path tree entry for the forward or backward search.
|
String |
getName() |
protected void |
updateEntry(SPTEntry entry,
int edge,
int adjNode,
int incEdge,
double weight,
SPTEntry parent,
boolean reverse) |
accept, getIncomingEdge, getOrigEdgeId, getTraversalId, postInitFrom, postInitTo, updateBestPath
calcWeight, calcWeight, createEmptyPath, extractPath, fillEdgesFromUsingFilter, fillEdgesToUsingFilter, finished, getInEdgeWeight, getOtherNode, initCollections, setPathExtractorSupplier, toString
bwdSearchCanBeStopped, calcPath, calcPath, calcPaths, checkAlreadyRun, fromEntryCanBeSkipped, fwdSearchCanBeStopped, getCurrentFromWeight, getCurrentToWeight, getVisitedNodes, initFrom, initTo, isMaxVisitedNodesExceeded, postInit, runAlgo, setMaxVisitedNodes, setUpdateBestPath, toEntryCanBeSkipped
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
calcPath
calcPath, calcPaths, getVisitedNodes, setMaxVisitedNodes
public DijkstraBidirectionEdgeCHNoSOD(RoutingCHGraph graph)
protected CHEntry createStartEntry(int node, double weight, boolean reverse)
AbstractBidirAlgo
createStartEntry
in class AbstractBidirAlgo
protected CHEntry createEntry(int edge, int adjNode, int incEdge, double weight, SPTEntry parent, boolean reverse)
AbstractBidirCHAlgo
SPTEntry
or one of its subclasses) during a dijkstra
expansion.createEntry
in class AbstractBidirCHAlgo
edge
- the id of the edge that is currently processed for the expansionadjNode
- the adjacent node of the edgeincEdge
- the id of the edge that is incoming to the node the edge is pointed at. usually this is the same as
edge, but for edge-based CH and in case edge corresponds to 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 otherwiseprotected void updateEntry(SPTEntry entry, int edge, int adjNode, int incEdge, double weight, SPTEntry parent, boolean reverse)
updateEntry
in class AbstractBidirCHAlgo
public String getName()
getName
in interface RoutingAlgorithm
getName
in class AbstractBidirAlgo
Copyright © 2012–2021. All rights reserved.