Path.EdgeVisitor
Constructor and Description |
---|
PathBidirRef(Graph g,
Weighting weighting) |
Modifier and Type | Method and Description |
---|---|
Path |
extract()
Extracts path from two shortest-path-tree
|
protected int |
getIncEdge(SPTEntry entry) |
protected void |
processEdgeBwd(int edgeId,
int adjNode,
int nextEdgeId)
Similar to
Path.processEdge(int, int, int) , but with the situation we encounter when doing a backward
search: nextEdgeId--x<--edgeId--adjNode |
PathBidirRef |
setSPTEntryTo(SPTEntry edgeTo) |
PathBidirRef |
setSwitchToFrom(boolean b) |
addEdge, calcDetails, calcEdges, calcInstructions, calcNodes, calcPoints, getDebugInfo, getDescription, getDistance, getEdgeCount, getExtractTime, getFinalEdge, getTime, getWeight, isFound, processEdge, setDescription, setDistance, setEndNode, setFound, setFromNode, setSPTEntry, setWeight, toDetailsString, toString
protected SPTEntry edgeTo
public PathBidirRef setSwitchToFrom(boolean b)
public PathBidirRef setSPTEntryTo(SPTEntry edgeTo)
public Path extract()
protected void processEdgeBwd(int edgeId, int adjNode, int nextEdgeId)
Path.processEdge(int, int, int)
, but with the situation we encounter when doing a backward
search: nextEdgeId--x<--edgeId--adjNodeprotected int getIncEdge(SPTEntry entry)
Copyright © 2012–2019. All rights reserved.