Hill Climbing Algorithm is a **heuristic local search algorithm** used in Artificial Intelligence to...
Hill Climbing Algorithm is a **heuristic local search algorithm** used in Artificial Intelligence to find an optimal or near-optimal solution. Definition Hill climbing starts from an initial state and repeatedly moves to a neighboring state with a better evaluation value until no better neighbor exists. ### Steps of Hill Climbing Algorithm 1. Start with an initial state. 2. Evaluate the current state. 3. Generate neighboring states. 4. Move to the neighbor with the best value. 5. Repeat until the goal is reached or no improvement is possible. Characteristics * Local search method * Greedy approach * Iterative process * Uses heuristic evaluation Types 1. Simple Hill Climbing 2. Steepest-Ascent Hill Climbing 3. Stochastic Hill Climbing Advantages * Simple and memory efficient * Fast for many optimization problems Limitations * May get stuck at: * **Local maxima** * **Plateaus** * **Ridges** * Does not always guarantee the global optimum. Applications * Route optimization * Scheduling * Game playing * Robotics and planning problems.
Subscribe for latest offers & updates
We hate spam too.