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

Discussion

When must an arc be revisited during AC-3?

  • A.When a new constraint is added to the problem
  • B.When the variable at its tail has been assigned a value
  • C.Whenever any domain anywhere in the problem changes
  • D.When the domain of a variable it points at has shrunk

Answer: D

Deleting a value from a domain may remove the support some neighbour was relying on, so every arc directed into the changed variable is put back on the queue. Re-queuing everything would be correct but wasteful. Constraint addition and assignment are different events. Revisiting only what a change can possibly have invalidated is what keeps an incremental algorithm efficient, and identifying that set precisely is the design work.

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

Post your comment

Please log in or register to post a comment.