Week 8 Flashcards

1
Q

What does a Search Problem consist of?

A

State Space: all possible states.
Start State
Goal Test: whether the goal state is achieved or not.
Successor (Transition) Function: what are the available actions and where will it land the agent.

Solution = sequence of actions that transforms start to goal state.

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

What is Depth-First Search?

A

Deepest node is expanded first.

Tie is broken left to right.

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

What is Breadth-First Search?

A

Move layer by layer.

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

What are the two types of Search Problems?

A

Planning: A sequence of actions.

Identification: An assignment - we care about goal, not path.

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

What is a Constraint Satisfaction Problem?

A

State is defined by variable Xi with values from a domain.

Goal test is a set of constraints specifying allowable combinations of values for subset of variables.

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

What does a CSP consist of?

A

A set of variables + constraints.
A domain for each variable.

Assignment is complete (a solution) if every variable has a value, otherwise partial.

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

What are Constraint Graphs?

A

Used to represent relations among constraints in CSPs.

Nodes are variables and arcs are constraints.

CSP algorithms use these to speed up search.

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

What are the different types of CSP?

A

Finite domain variables.
Infinite domain variables - e.g. time.

Unary constraints - single variable has reducing domains.
Binary, high-order constraints.

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

What is Generate and Test?

A

Exhaustive algorithm which generates all complete assignments, then tests, returning first one to satisfy all constraints.

Needs to store all d^n assignments.

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

What is Backtracking Search?

A

A DFS method.

Check constraints as you go and consider one variable at a layer.

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

How is Backtracking improved?

A

Filtering: Detect inevitable failure early.

Ordering: Assign variable with smallest domain first.

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

What is Forward Checking?

A

Cross of values that break constraints whenn adding to existing assignments.

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

What is a Local Search Method?

A

Find solutions quickly.

Start with arbitary complete assignment and improve iteratively.

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

What is Filtering?

A

Keep track of domains for unassigned variables and cross off bad options.

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

What are Soft Constraints in CSPs?

A

Preferences/objectives - need to optimize.

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

What are Optimization Problems?

A

Search problems with preferences (objective functions).

Single or multi objective, (un)constrained.

Local search methods effective.