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

Discussion

Why should depth limited search distinguish failure from cutoff?

  • A.Failure means the algorithm has run out of available time
  • B.Failure proves no solution exists while cutoff proves nothing
  • C.The two produce different amounts of memory consumption
  • D.Cutoff indicates an error in the problem formulation

Answer: B

If no node was truncated at the limit, the space below was fully explored and the absence of a solution is proved; if the limit was reached anywhere, the search is simply inconclusive and a deeper limit may succeed. Iterative deepening relies on that distinction to know when to stop. Memory, formulation errors and timeouts are unrelated. Returning enough information to distinguish two very different outcomes costs one boolean and saves considerable confusion.

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

Post your comment

Please log in or register to post a comment.