SP22-AI-Hill Climbing
SP22-AI-Hill Climbing
SP22-AI-Hill Climbing
Bart Selman
CS4700
1
So far:
methods that systematically explore the search space, possibly
using principled pruning (e.g., A*)
Local search
(sometimes called: Iterative Improvement Methods)
Bart Selman
CS4700
2
Problem: Place N queens on an NxN Intro example: N-queens
chess board so that no queen attacks
another.
3) Repeat Step 2 until goal state found (or out of time) Unsolvable if
cycle can be done billions of times out of time?
Bart Selman
CS4700
5
Hill-climbing search
Bart Selman
CS4700
11
Improvements to Greedy /
Hill-climbing Search
Issue:
– How to move more quickly to successively better plateaus?
– Avoid “getting stuck” / local maxima?
Bart Selman
CS4700
12
Bart Selman
CS4700
13
Bart Selman
CS4700
14