public class AStarBidirectionEdgeCHNoSOD extends AbstractBidirectionEdgeCHNoSOD
bestPath, bestWeightMapFrom, bestWeightMapOther, bestWeightMapTo, currFrom, currTo, finishedFrom, finishedTo, from, toadditionalEdgeFilter, flagEncoder, graph, inEdgeExplorer, maxVisitedNodes, nodeAccess, outEdgeExplorer, traversalMode, weighting| Constructor and Description |
|---|
AStarBidirectionEdgeCHNoSOD(Graph graph,
TurnWeighting weighting) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
bwdSearchCanBeStopped() |
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 AStarCHEntry |
createStartEntry(int node,
double weight,
boolean reverse)
Creates the root shortest path tree entry for the forward or backward search.
|
protected boolean |
fwdSearchCanBeStopped() |
WeightApproximator |
getApproximation() |
String |
getName() |
void |
init(int from,
double fromWeight,
int to,
double toWeight) |
AStarBidirectionEdgeCHNoSOD |
setApproximation(WeightApproximator weightApproximator) |
protected void |
updateEntry(SPTEntry entry,
EdgeIteratorState edge,
int edgeId,
double weight,
SPTEntry parent,
boolean reverse) |
accept, createAndInitPath, finished, getIncomingEdge, getOrigEdgeId, getTraversalId, initCollections, postInitFrom, postInitTo, toString, updateBestPathcalcPath, calcWeight, extractPath, fromEntryCanBeSkipped, getCurrentFromWeight, getCurrentToWeight, getVisitedNodes, initFrom, initTo, postInit, runAlgo, setUpdateBestPath, toEntryCanBeSkippedaccept, calcPaths, checkAlreadyRun, createEmptyPath, isMaxVisitedNodesExceeded, setEdgeFilter, setMaxVisitedNodespublic AStarBidirectionEdgeCHNoSOD(Graph graph, TurnWeighting weighting)
public void init(int from,
double fromWeight,
int to,
double toWeight)
protected boolean fwdSearchCanBeStopped()
fwdSearchCanBeStopped in class AbstractBidirAlgoprotected boolean bwdSearchCanBeStopped()
bwdSearchCanBeStopped in class AbstractBidirAlgoprotected AStarCHEntry 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 otherwiseprotected void updateEntry(SPTEntry entry, EdgeIteratorState edge, int edgeId, double weight, SPTEntry parent, boolean reverse)
updateEntry in class AbstractBidirAlgopublic WeightApproximator getApproximation()
public AStarBidirectionEdgeCHNoSOD setApproximation(WeightApproximator weightApproximator)
public String getName()
getName in interface RoutingAlgorithmgetName in class AbstractRoutingAlgorithmCopyright © 2012–2019. All rights reserved.