public class PrepareCHEdgeIteratorImpl extends Object implements PrepareCHEdgeExplorer, PrepareCHEdgeIterator
Constructor and Description |
---|
PrepareCHEdgeIteratorImpl(EdgeExplorer edgeExplorer,
Weighting weighting,
ShortcutFilter shortcutFilter) |
Modifier and Type | Method and Description |
---|---|
static PrepareCHEdgeExplorer |
allEdges(EdgeExplorer edgeExplorer,
Weighting weighting) |
int |
getAdjNode() |
int |
getBaseNode() |
int |
getEdge() |
int |
getMergeStatus(int flags) |
int |
getOrigEdgeFirst() |
int |
getOrigEdgeLast() |
double |
getWeight(boolean reverse) |
static PrepareCHEdgeExplorer |
inEdges(EdgeExplorer edgeExplorer,
Weighting weighting) |
boolean |
isShortcut() |
boolean |
next() |
static PrepareCHEdgeExplorer |
outEdges(EdgeExplorer edgeExplorer,
Weighting weighting) |
PrepareCHEdgeIteratorImpl |
setBaseNode(int node) |
void |
setFlagsAndWeight(int flags,
double weight) |
void |
setSkippedEdges(int skippedEdge1,
int skippedEdge2) |
void |
setWeight(double weight) |
String |
toString() |
public PrepareCHEdgeIteratorImpl(EdgeExplorer edgeExplorer, Weighting weighting, ShortcutFilter shortcutFilter)
public static PrepareCHEdgeExplorer inEdges(EdgeExplorer edgeExplorer, Weighting weighting)
public static PrepareCHEdgeExplorer outEdges(EdgeExplorer edgeExplorer, Weighting weighting)
public static PrepareCHEdgeExplorer allEdges(EdgeExplorer edgeExplorer, Weighting weighting)
public PrepareCHEdgeIteratorImpl setBaseNode(int node)
setBaseNode
in interface PrepareCHEdgeExplorer
public boolean next()
next
in interface PrepareCHEdgeIterator
public int getEdge()
getEdge
in interface PrepareCHEdgeIterator
public int getBaseNode()
getBaseNode
in interface PrepareCHEdgeIterator
public int getAdjNode()
getAdjNode
in interface PrepareCHEdgeIterator
public int getOrigEdgeFirst()
getOrigEdgeFirst
in interface PrepareCHEdgeIterator
public int getOrigEdgeLast()
getOrigEdgeLast
in interface PrepareCHEdgeIterator
public boolean isShortcut()
isShortcut
in interface PrepareCHEdgeIterator
public double getWeight(boolean reverse)
getWeight
in interface PrepareCHEdgeIterator
public void setWeight(double weight)
setWeight
in interface PrepareCHEdgeIterator
public int getMergeStatus(int flags)
getMergeStatus
in interface PrepareCHEdgeIterator
public void setFlagsAndWeight(int flags, double weight)
setFlagsAndWeight
in interface PrepareCHEdgeIterator
public void setSkippedEdges(int skippedEdge1, int skippedEdge2)
setSkippedEdges
in interface PrepareCHEdgeIterator
Copyright © 2012–2020. All rights reserved.