Class AStar.AStarEntry

java.lang.Object
com.graphhopper.routing.SPTEntry
com.graphhopper.routing.AStar.AStarEntry
All Implemented Interfaces:
Comparable<SPTEntry>
Enclosing class:
AStar

public static class AStar.AStarEntry extends SPTEntry
  • Constructor Details

    • AStarEntry

      public AStarEntry(int edgeId, int adjNode, double weightForHeap, double weightOfVisitedPath)
    • AStarEntry

      public AStarEntry(int edgeId, int adjNode, double weightForHeap, double weightOfVisitedPath, SPTEntry parent)
  • Method Details

    • getWeightOfVisitedPath

      public final double getWeightOfVisitedPath()
      Description copied from class: SPTEntry
      This method returns the weight to the origin e.g. to the start for the forward SPT and to the destination for the backward SPT. Where the variable 'weight' is used to let heap select smallest *full* weight (from start to destination).
      Overrides:
      getWeightOfVisitedPath in class SPTEntry
    • getParent

      public AStar.AStarEntry getParent()
      Overrides:
      getParent in class SPTEntry