Machine-translated by Google. Questions are authored in English.
Top

Discussion

Is breadth first search complete?

  • A.No, unless the goal lies at a known fixed depth
  • B.Yes, provided the branching factor is finite
  • C.No, because it may loop between repeated states forever
  • D.Yes, but only if the state space is finite in total

Answer: B

Breadth first examines every node at depth d before any at depth d plus one, so if a solution exists at any finite depth it will be found, provided each node has finitely many successors. It does not loop, since repeated states are detected, and an infinite state space is no obstacle so long as the solution is at finite depth. Completeness under a stated condition is worth more than an unqualified claim, and the condition here is mild. Reading the definition literally, rather than recalling a formula, is the reliable route through questions of this shape.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.