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

Discussion

What is backtracking search in a constraint problem?

  • A.Recording every failed assignment so it is never repeated
  • B.Assigning variables one at a time and undoing on failure
  • C.Searching backwards from a complete assignment to the empty one
  • D.Repeatedly restarting from a different variable ordering

Answer: B

Backtracking chooses an unassigned variable, tries each value consistent with the assignment so far and recurses, returning when no value works. It is depth first search specialised to this representation, and its memory is linear. Backward search, restarts and recording failures describe other techniques, the last being no-good learning. A basic algorithm that is transformed by the heuristics layered on it is the pattern of this whole topic.

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

Post your comment

Please log in or register to post a comment.