Class AStarIterator.AStarFunctions

  • Enclosing class:

    public abstract static class AStarIterator.AStarFunctions
    extends Object
    Defines the functions needed by A Star.
    German E. Trouillet, Francisco G. Malbrán. Universidad Nacional de Córdoba (UNC)
    • Constructor Detail

      • AStarFunctions

        public AStarFunctions​(Node destination)
        Creates a new instance and sets up the destination node for the algorithm
    • Method Detail

      • setDestination

        public void setDestination​(Node destination)
        Sets up the destination node for the algorithm
      • h

        public abstract double h​(Node n)
        Defines the heuristic function for n
      • getDest

        public Node getDest()