Why do we need depth limited search and what are its limitations? Find the global maximum among two scenarios, one starting at \(x = 5\) and other…
2026 · Solved Question with Answer
Why do we need depth limited search and what are its limitations? Find the global maximum among two scenarios, one starting at \(x = 5\) and other starting at \(x = 3\) using Hill climbing search for the followings given information.
| Position (x) | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|---|---|
| Heuristiv Value \(f(x)\) | 11 | 18 | 13 | 7 | 14 | 15 | 21 | 19 | 10 | 8 |
From any position x, you can only move to your immediate left neighbour \((x - 1)\) or immediate right neighbor \((x + 1)\).
