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

Discussion

What is a unary constraint?

  • A.One that must be satisfied exactly once in a solution
  • B.One relating a variable to a constant value only
  • C.One that can be checked before the search begins
  • D.One restricting the values of a single variable

Answer: D

A unary constraint restricts one variable's domain and is applied once at the start, achieving node consistency. Binary constraints relate pairs and higher arity constraints relate more. The other options describe a cardinality condition, a special case and a timing property. Classifying constraints by how many variables they involve determines which consistency condition applies to them, which is why the arity is the first thing noted about a constraint.

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

Post your comment

Please log in or register to post a comment.