Class AStarNode

  • All Implemented Interfaces:

    public class AStarNode
    extends SearchNode
    Created by IntelliJ IDEA. User: pereira Date: Jun 19, 2005 Time: 1:07:17 PM Search node in an A* search.
    • Constructor Detail

      • AStarNode

        public AStarNode​(AStarState state,
                         AStarNode parent,
                         double cost)
        Create an A* search node with given state, parent, and cost.
        state - the state
        parent - the parent
        cost - the cost
    • Method Detail

      • completionCost

        public double completionCost()
        Get the completion cost for the underlying state.
        the completion cost