Package com.graphhopper.routing.ch
Class PrepareCHEntry
java.lang.Object
com.graphhopper.routing.ch.PrepareCHEntry
- All Implemented Interfaces:
Comparable<PrepareCHEntry>
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
int
The first edge key of the incoming edgeint
The edge key of the incoming edge at this shortest path tree entry.int
The number of original edges this (potential) shortcut represents.int
The ID of the edge associated with this entry in the prepare graph (this is not the same number that will later be the ID of the edge/shortcut in the CHGraph.double
-
Constructor Summary
ConstructorsConstructorDescriptionPrepareCHEntry
(int prepareEdge, int firstEdgeKey, int incEdgeKey, int adjNode, double weight, int origEdges) -
Method Summary
-
Field Details
-
incEdgeKey
public int incEdgeKeyThe edge key of the incoming edge at this shortest path tree entry. For original edges this is the same as the edge key, but for shortcuts this is the edge key of the last original edge of the shortcut. -
firstEdgeKey
public int firstEdgeKeyThe first edge key of the incoming edge -
origEdges
public int origEdgesThe number of original edges this (potential) shortcut represents. Will be one for original edges -
prepareEdge
public int prepareEdgeThe ID of the edge associated with this entry in the prepare graph (this is not the same number that will later be the ID of the edge/shortcut in the CHGraph. -
adjNode
public int adjNode -
weight
public double weight -
parent
-
-
Constructor Details
-
PrepareCHEntry
public PrepareCHEntry(int prepareEdge, int firstEdgeKey, int incEdgeKey, int adjNode, double weight, int origEdges)
-
-
Method Details
-
getParent
-
toString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<PrepareCHEntry>
-