Академический Документы
Профессиональный Документы
Культура Документы
Hill Climbing:
Processes a given candidate solution and generates a better or equal quality solution.
The idea is that, we start with a random state/current candidate solution/Constructive heuristic, we
the generate neighbour solution, and move to the solution only if it has higher value of the
evaluation function compared to the current solution.
General algorithm
Algorithm:
Cons
Local optima: Algorithm may halt at poor solution if neighbouring states are worse
(or equal)
Plateaus: All neighboring states are the same as the current state. In other words the
evaluation function is essentially flat. The search will conduct a random walk (see
above).
Ridge/valley: May oscillate from side to side without progressing
o Could restart at a different point as a fix
Hill climbing algorithms may not find the global optimum, becoming stuck at local
ones.
We don't know how much a local optima deviates from the global or other local
optima (how far they are from each other)
Usually no upper bound on computation time
Success/failure depends on starting point
o Where success is returning a global or local optimum