Constraint Satisfaction Problems Flashcards
What is a CSP?
A special type of search problem with states defined by values which can come from a specific domain. The goal test is a set of constraints specifying allowable combos of values for subsets of variables
What is backtracking search?
DFS with two improvements: Check one variable at a time and check constraints as you go.
What is filtering?
Keeping track of domains for unassigned variables and crossing off bad options.
What is forward-checking?
Crossing off values that violate a constraint when added to the existing assignment.
What makes an arc consistent?
An arc is consistent if and only if for EVERY ‘x’ in the tail there is SOME ‘y’ in the head which could be assigned without violating a constraint
True or False: If a variable loses a value, its neighbors need to be rechecked in order to reinforce arc consistency.
True
What are the limitations of arc consistency?
You may have one, multiple, or no solutions left.