Constraint Satisfaction Flashcards

(9 cards)

1
Q

Constraint satisfaction formalised

A

X = {X1,X2,..Xn} = set of variables

D = {D1,D2..Dn} = set of domains specifying the values each variable can take

C = set of constraints

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

What is a state

A

An assignment of values to all or some variables

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

When is a state called complete

A

If it assigns all the variables

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

When is a state called consistent

A

If it does not violate the constraints

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

What is a solution

A

A state which is complete and consistent

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

What is the solution to constraint satisfaction problems

A

A backtracking search combining:

  1. A depth-first search
  2. Constraint propogation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the heuristics for CSP

A

Minimum remaining values
Least constraining value

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

What is MRV

A

Choose the variable with the fewest legal values

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

What is LCV

A

Select the value which constrains the fewest other values

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