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

Discussion

What is the first change to try when breadth first search exhausts memory?

  • A.Reduce the depth limit until the search completes
  • B.Apply the goal test earlier during node generation
  • C.Switch to iterative deepening search
  • D.Increase the memory available to the program

Answer: C

Iterative deepening retains completeness and optimality with unit costs while reducing the memory from exponential to linear, at a modest cost in repeated work. More memory buys only one extra level for each multiplication by the branching factor, a depth limit sacrifices completeness, and earlier goal testing saves a constant factor. Attacking the exponent rather than the constant is the only response that changes what is feasible.

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

Post your comment

Please log in or register to post a comment.