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

Discussion

What is the effect of testing for goals on generation rather than expansion?

  • A.It changes the order in which nodes are expanded
  • B.It saves up to one whole level of expansion
  • C.It makes the algorithm incomplete in infinite spaces
  • D.It reduces the memory required by the frontier substantially

Answer: B

Finding the goal as soon as it is generated avoids expanding the remainder of its level, which in an exponential tree is most of the work done so far. It is safe for breadth first with equal costs and unsafe for uniform cost search. Completeness, memory and expansion order are unaffected. A constant factor saving of roughly the branching factor is worth having, provided the condition under which it is sound is respected.

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

Post your comment

Please log in or register to post a comment.