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

Discussion

What is the effect of using graph search on a grid problem?

  • A.The search becomes polynomial rather than exponential
  • B.The search finds a shorter solution than tree search would
  • C.The memory requirement falls below that of tree search
  • D.The algorithm becomes complete where it previously was not

Answer: A

Storing expanded states means each is expanded once, so the work becomes proportional to the number of states rather than to the number of paths, which is a change of complexity class. Memory rises rather than falls, and the solution found and the completeness are unchanged for breadth first. A structural change that alters the exponent is worth far more than any constant factor, and it is bought here with memory.

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

Post your comment

Please log in or register to post a comment.