5.5 A* Search


  • Intuition: Try to expand a node that is on the least code path to the goal.

    f(n) = g(n) + h(n)
    g(n) is the (estimated) cost to node n

  • f(n) is the estimated cost of the cheapest solution through n

  • If h(n) is an underestimate of the true cost to goal then:
    • A* is complete
    • A* is optimal
    • A* is Optimally Efficient, no other algorithm using h(n) is guaranteed to expand fewer states

    [Example of A* search tree]


[MAIN PAGE] [PREVIOUS PAGE] [NEXT PAGE]
RMiT Copyright © 1999. Department of Computer Science, RMIT University.
Last Modified: 17th June, 1999.