What Are Constraint Satisfaction Problems?(slides5) Flashcards

1
Q

CSP state

A

defined by variables Xi with values from domain Di

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

CSP goal test

A

a set of constraints specifying allowable combinations of values for subsets of variables

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

Constraint Satisfaction Problems

A

give a standard factorization of the state
general purpose heuristics
the main idea is to reduce the search space by identifying constraint violations

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

CSP sets and domains

A

set or variables X= {X1, X2, …., Xn}
set of domains D={D1,D2,…,Dn}
-variable Xi takes value from domain Di
-Domain can also be same for all variables

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

CSP constraint sets

A

C={ci=(scopei,reli) | i=1,…,h}

  • scopei: subset of X, the variables that are constrained by ci
  • reli: is a relations and tells us which simultaneous assignments to variables in scopei are allowed or not allowed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

CSP Varieties of constraints

A

Unary
Binary
Higher-order

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

CSP Unary constraints

A

constraints that involve a single variable

-eg, SA != green

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

CSP Binary Constraints

A

constraints that involve pairs of variables

-eg, SA != WA

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

CSP Higher Order constraints

A

involve 3 or more variables

-e.g., cryptarithmetic column constraints

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

Binary CSP

A

each constraint relates two variables

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

constraint graph

A

nodes are variables, arcs are constraints (only works with Binary CSP)

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

CSP binary conversion

A

Any CSP can be converted into one with only binary constraints
2 known techniques:
-dual graph method
-hidden variable method
translations are polynomial if constraints are represented extensionally

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

Varieties of CSP variables

A

Discrete Variables

continuous variables

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

CSP Discrete Variables

A

finite domains

infinite domains

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

CSP finite domains

A
  • n variabls, domain size d –> O(d^n) complete assignments

- e.g., Boolean CSPs, incl. ~Boolean satisfiability (NP-complete)

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

CSP infinite Domains

A

integers, strings, etc.

  • e.g., job scheduling, variables are start/end days for each job
  • need a constraint language, e.g., startJob1 + 5 <= StartJob3
17
Q

CSP continuous variables

A

e.g., start/end times for hubble space telescope observations
linear constraints solvable in polynomial time by linear programming

18
Q

Simple Temporal Problems

A
Variables X,Y--> timepoints
Temporal constraints
-binary: defined on 2 variables
-intervals[a,b] meaning a<=b
  -temporal interval: all allowed values for y-x