UGC-NET Dec 2013 · Uninformed Search (BFS, DFS, UCS)

MCQ · 2 marks · Problem AI-ASRC-0028

If h* represents an estimate from the cost of getting from the current node N to the goal node and h represents actual cost of getting from the current node to the goal node, then A* algorithm gives an optimal solution if
  1. A
    h* is equal to h
  2. B
    h* overestimates h
  3. C
    h* underestimates h
  4. D
    none of these

Solve it on GATE DA practice →More Search Strategies problems

Show the worked solution\[\boxed{h^*(N)\le h(N)\ \text{for all }N\ \Rightarrow\ \text{A* is optimal}}\]An admissible heuristic never overestimates the true remaining cost. Then a goal reached through a worse path can never be expanded before the optimal one, because the optimal path's nodes have \(f\) no larger than the optimal cost.(A) Equality is a special (ideal) case of underestimation, not the general condition.(B) Overestimation can make A* return a suboptimal path — incorrect.Answer: C

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com