Week 6 (Chapter 7) - Constraint Satisfaction Problem Flashcards

1
Q

What’s the difference between tree and graph structured CSP?

A
Tree = no loops
Graph = loops

If no loops, CSP can be solved in O(nd^2) time = linear

If loops, CSP solved in O(d^n) = exponential

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

What to do when CSP is nearly tree structured?

A

Cutset - instantiate a variable, prune its neighbours domains

cutset = set of variables that can be deleted so constraint graph forms a tree

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

What is the complexity of arc consistency?

A

O(n^2d^3) -> can be reduced to O(n^2d^2)

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