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

Discussion

How is a constraint problem converted into a standard search problem?

  • A.States are partial assignments and actions assign a value to a variable
  • B.States are variables and actions move between them along the constraints
  • C.States are constraints and actions are the values that satisfy them
  • D.States are complete assignments and actions repair a violation

Answer: A

The natural formulation makes a state a consistent partial assignment and an action the assignment of a value to an unassigned variable, with the goal being a complete consistent assignment. That gives a tree of depth equal to the number of variables. The last option describes the local search formulation, which is a different and equally valid choice. Two formulations of the same problem, suiting different algorithms, is common and choosing between them is part of the design.

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

Post your comment

Please log in or register to post a comment.