Constraint Satisfaction Problems Flashcards

1
Q

What is a CSP?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is backtracking search?

A

DFS with two improvements: Check one variable at a time and check constraints as you go.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is filtering?

A

Keeping track of domains for unassigned variables and crossing off bad options.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is forward-checking?

A

Crossing off values that violate a constraint when added to the existing assignment.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What makes an arc consistent?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

True or False: If a variable loses a value, its neighbors need to be rechecked in order to reinforce arc consistency.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the limitations of arc consistency?

A

You may have one, multiple, or no solutions left.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly