7 - Constraint Satisfaction Problems Flashcards

(5 cards)

1
Q

What is a Constraint Satisfaction Problem (CSP)?

A

A problem, that requires a value, selected from a given finite domain, to be assigned to each variable in the problem, so that all constraints relating the variables are satisfied

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

How do we formulate a CSP?

A

Initial state- empty assignment: all variables are unassigned.
Successor function - assigns value to an unassigned variable that does not conflict with previously assigned variables
Goal test - complete current assignment
Path cost - constant cost per step

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

What is a Backtracking search?

A

Backtracking is a problem-solving algorithmic technique that involves finding a solution incrementally by trying different options and undoing them if they lead to a dead end.

To improve this method, we can ask ourselves: Which variable should be assigned next?In what order should its values be tried? *Can we detect inevitable failure early?

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

What is Constraint propagation?

A

Forward checking propagates information from assigned to unassigned variables, but doesn’t provide early detection for all failures

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

Arc consistency

A

Simplest form of propagation makes each pair of variables consistent: X →Yis consistent ifffor everyvalue of X there is someallowed value of Y

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