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
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
3
Q
What is the complexity of arc consistency?
A
O(n^2d^3) -> can be reduced to O(n^2d^2)