CSP Algorithms Flashcards

1
Q

assignment

A

set of variable-value pairs

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

how many times do variables appear in assignments?

A

at most once

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

partial assignment

A

some variables unassigned

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

complete assignment

A

all variables assigned

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

consistent assignment

A

none of the constraints violated

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

solution to a CSP

A

a complete and consistent assignment

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

ways to prevent fruitless search

A
  • don’t try obviously fruitless options
  • don’t try options that can be ruled out
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Don’t try fruitless ooptions

A

use the constraints from the problem and the partial assignment in state to check if state is inconsistent

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

don’t try options that can be ruled out

A

remove inconsistent domain values from the copy

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

Techniques for removing inconsistent values

A
  • forward checking
  • arc consistency
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

forward checking

A

if an assignment violates a constraint remove the assignment option from the domain

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

arc consistency

A

remove domain values that don’t have a support in other variables

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

supported values

A

a ε DA has support if there is some b ε DB so that (a, b) ε CAB

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

Minimum remaining values heuristic

A

choose the variable with the smallest (non-empty) domain first

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

least constraining value heuristic

A

choose the value that leaves the most future choices open
- simulate forward checking, use the value that would eliminate fewest values

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