public class RoutingCHEdgeIteratorStateImpl extends Object implements RoutingCHEdgeIteratorState
| Constructor and Description | 
|---|
| RoutingCHEdgeIteratorStateImpl(EdgeIteratorState edgeState,
                              Weighting weighting) | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getAdjNode() | 
| int | getBaseNode() | 
| int | getEdge()The CH edge ID of this edge state. | 
| int | getOrigEdge()The original/base/query graph edge ID of the edge this CH edge state represents or  EdgeIterator.NO_EDGEif this is edge state is a shortcut | 
| int | getOrigEdgeFirst()For shortcuts of an edge-based CH graph this is the ID of the first original edge of this edge state, otherwise
 it is the same as  RoutingCHEdgeIteratorState.getOrigEdge()} | 
| int | getOrigEdgeLast()For shortcuts of an edge-based CH graph this is the ID of the last original edge of this edge state, otherwise
 it is the same as  RoutingCHEdgeIteratorState.getOrigEdge()} | 
| int | getSkippedEdge1()The CH edge ID of the first skipped edge/shortcut of this edge state | 
| int | getSkippedEdge2()The CH edge ID of the second skipped edge/shortcut of this edge state | 
| double | getWeight(boolean reverse) | 
| boolean | isShortcut() | 
public RoutingCHEdgeIteratorStateImpl(EdgeIteratorState edgeState, Weighting weighting)
public int getEdge()
RoutingCHEdgeIteratorStateRoutingCHEdgeIteratorState.getOrigEdge()getEdge in interface RoutingCHEdgeIteratorStatepublic int getOrigEdge()
RoutingCHEdgeIteratorStateEdgeIterator.NO_EDGE
 if this is edge state is a shortcutgetOrigEdge in interface RoutingCHEdgeIteratorStatepublic int getOrigEdgeFirst()
RoutingCHEdgeIteratorStateRoutingCHEdgeIteratorState.getOrigEdge()}getOrigEdgeFirst in interface RoutingCHEdgeIteratorStatepublic int getOrigEdgeLast()
RoutingCHEdgeIteratorStateRoutingCHEdgeIteratorState.getOrigEdge()}getOrigEdgeLast in interface RoutingCHEdgeIteratorStatepublic int getBaseNode()
getBaseNode in interface RoutingCHEdgeIteratorStatepublic int getAdjNode()
getAdjNode in interface RoutingCHEdgeIteratorStatepublic boolean isShortcut()
isShortcut in interface RoutingCHEdgeIteratorStatepublic int getSkippedEdge1()
RoutingCHEdgeIteratorStategetSkippedEdge1 in interface RoutingCHEdgeIteratorStatepublic int getSkippedEdge2()
RoutingCHEdgeIteratorStategetSkippedEdge2 in interface RoutingCHEdgeIteratorStatepublic double getWeight(boolean reverse)
getWeight in interface RoutingCHEdgeIteratorStateCopyright © 2012–2020. All rights reserved.