Beruflich Dokumente
Kultur Dokumente
• Hill Climbing
• Local maxima:
• Points which are better than the surrounding state but
which are not the solution.
• Solution:
– Altering or extending algorithm a bit.
– Use limited backtracking
– Weaken the restriction that the next state has to be better by
looking ahead a bit in the search. (may be the next but one state
should be better than the current one)
• Hill climbing is good for only limited class of problems.
A B C
A 0 12 34 ...
B 12 0 76 ...
C 34 76 0 ...
... ... ... ... ...
Local Maximum
• A state that is better than all of its neighbours, but not
better than some other states far away
or
• Points which are better than the surrounding state but
which are not the solution.
Plateau
A flat area of the search space in which all
neighbouring states have the same value.
6
2 4
3 5
1
• Problem:
Max must reach a terminal state with as high a utility
as possible regardless of Min’s moves
3 2 2
3 12 8 2 4 6 14 5 2
Q&A
• A* search