Questions: Heuristic Search Functions

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

You implement A* for the 8-puzzle using h(n) = 2 × Manhattan distance (doubling all heuristic estimates). Compared to standard Manhattan distance, what changes?

AA* runs faster and still finds the optimal solution, because the stronger heuristic guides it more aggressively
BA* finds the optimal solution but explores more nodes, since the inflated estimates push it toward greedy behavior
CA* may no longer find the optimal solution, because doubling Manhattan distance can overestimate the true cost
DA* behaves identically, since both heuristics produce the same relative ordering among states
Question 2 Multiple Choice

For the 8-puzzle, Manhattan distance (h₂) dominates misplaced tiles (h₁), meaning h₂(n) ≥ h₁(n) for every state n. What practical consequence does this domination have for A*?

AA* with h₂ always expands fewer nodes than A* with h₁, because the tighter lower bound prunes more of the search space
BA* with h₂ is slower per node because computing Manhattan distance takes more time than counting misplaced tiles
CA* with h₁ terminates faster on average because it expands nodes more freely without tight bounds
DBoth heuristics lead A* to expand exactly the same set of nodes, just in a different order
Question 3 True / False

A consistent (monotone) heuristic is always admissible, but an admissible heuristic is not necessarily consistent.

TTrue
FFalse
Question 4 True / False

Setting h(n) = 0 for most states is inadmissible because it seldom provides any useful estimate, making it very difficult for A* to find the optimal solution.

TTrue
FFalse
Question 5 Short Answer

What is the relaxation technique for designing heuristics, and why does it always produce an admissible heuristic?

Think about your answer, then reveal below.