21 Jan 2004
CS 3243 - Heuristics
13
A
*
search
n
Idea: avoid expanding paths that are already
expensive
n
Evaluation function
f(n) = g(n) + h(n)
n
g(n)
= cost so far to reach
n
n
h(n)
= estimated cost from
n
to goal
n
f(n)
= estimated total cost of path through
n
to goal