Class AStarCHEntry

All Implemented Interfaces:
Comparable<SPTEntry>

public class AStarCHEntry extends CHEntry
  • Field Details

    • weightOfVisitedPath

      public double weightOfVisitedPath
  • Constructor Details

    • AStarCHEntry

      public AStarCHEntry(int node, double heapWeight, double weightOfVisitedPath)
    • AStarCHEntry

      public AStarCHEntry(int edge, int incEdge, int adjNode, double heapWeight, double weightOfVisitedPath, SPTEntry parent)
  • Method Details

    • getParent

      public AStarCHEntry getParent()
      Overrides:
      getParent in class CHEntry
    • getWeightOfVisitedPath

      public 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