Uninformed Search Flashcards

1
Q

How do we measure performance?

A

completeness, optimality, time complexity, and space complexity

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

completeness

A

Assuming there is a goal state, are we guaranteed to find it?

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

optimality

A

Are we guaranteed to find the goal state with the smallest path cost?

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

time complexity

A

How long does it take to find a goal state, measured by # nodes expanded?

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

space complexity

A

How much memory is used to find a goal state, measured by maximum # of nodes in the frontier?

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

What is the frontier in Breadth First Search (BFS)?

A

Queue
shallowest nodes are expanded first

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

What are the performance properties of BFS?

A

Complete: yes, in principle
Optimal: yes, if step-costs are identical
Time: O(b^d)
Space: O(b^d)

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

What is the frontier in Depth First Search (DFS)?

A

stack
deepest nodes are expanded first

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

What are the performance properties of DFS?

A

Complete: yes, if no cycles and finite
Optimal: no
Time: O(b^d)
Space: O(bd)

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

Depth-Limited Search

A
  • requires parameter L
  • deepest nodes are expanded first, but nodes deeper than L are discarded
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the performance properties of DLS (depth-limited Search)?

A

Complete: depends on depth L
Optimal: yes, if d = L
Time: O(b^L)
Space: O(bL)

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

Iterative Deepening Search

A

run DLS, but repeatedly increasing depth limit

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

What are the performance properties of IDS (iterative deepening search)?

A

Complete: yes
Optimal: yes, if L increases linearly
Time: O(b^d)
Space: O(bd)

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