Professional Documents
Culture Documents
Hill Climbing Algorithm
Hill Climbing Algorithm
stategy
Algcitm
1.Pot iniÃal node on ist
a I; CSART-Enpby or (START= yoal), terminate seaeh
Remve gt node from sTART, all this node k
4. It CK= coa),tesmioate with 8JcOeSs
5. Else ik node k has sueceso(s, genesate all of hem. Sort
them ty semaining distance from oaland add'them at the
Seanch Tiee
Goalk
Node
Step 17
from
Starnt
Step3’
STAKT.
Step 47
from
START
K
Step 5’
START
fom
R
DFC a START
START
DFCA START
fon
RBEG
K
So" BackEacking
&.Plateau
Algrew-Geated greund
Any point on rtdge can look ike a peak beaaUse movement
fnal possTDle dlisel bons îs dounard : Hene the algo+thm
stops tihen it eaches this state.
same level points ,A0 the
algo gets Con hused (uhere
i glabal mama?