Package com.graphhopper.routing.ch
Class PrepareCHEntry
java.lang.Object
com.graphhopper.routing.ch.PrepareCHEntry
- All Implemented Interfaces:
Comparable<PrepareCHEntry>
-
Field Summary
FieldsModifier and TypeFieldDescriptionintintThe first edge key of the incoming edgeintThe edge key of the incoming edge at this shortest path tree entry.intThe number of original edges this (potential) shortcut represents.intThe 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:
compareToin interfaceComparable<PrepareCHEntry>
-