AI Lecture 04 (Informed Search)
AI Lecture 04 (Informed Search)
SEARCH STRATEGIES
Course Title: Artificial Intelligence and Expert System
Course Code: CSC4226
1. BEST-FIRST SEARCH
3. A* SEARCH
5. OPTIMALITY OF A*
INFORMED SEARCH STRATEGY
if h(n) is consistent, then the values of f(n) along any path are nondecreasing.
The proof follows directly from the definition of consistency. Suppose n is a
successor of n; then g(n’)=g(n) + c(n, a, n’) for some action a, and we have
f(n’) = g(n’) + h(n’)
= g(n) + c(n, a, n’) + h(n’) because g(n’) = g(n) + c(n, a, n’)
≥ g(n) + h(n) because c(n, a, n’) + h(n’) >= h(n)
= f(n)
So, f(n’) >= f(n)
OPTIMALITY OF A*