Uninformed Search Flashcards

1
Q

Why is iterative deepening used?

A

It combines the benefits of breadth first search and depth first search

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

What does iterative deepening do?

A

It tries all depth limits one by one.

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

What solution does iterative deepening get?

A

It gets the shallowest solution (benefit of breadth first search)

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

Which data structure does iterative deepening use?

A

A stack (benefit of depth first)

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

Why may iterative deepening seem wasteful?

A

As it resets after reaching each depth limit, but overhead small in comparison to exponential growth

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

What is the time complexity of iterative deepening?

A

O(b^d)
Where b = branch factor, d = depth of solution

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

What is the space complexity of iterative deepening

A

O(bd)

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

What is bidirectional search?

A

A search that simultaneously goes down the tree from the root and up the tree from goal

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

When does a bidirectional search work?

A

When there is one goal state

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

What is the time complexity of bidirectional search?

A

O(b ^ (d/2) )

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

What is the space complexity of bidirectional search?

A

O(b ^ (d/2) )

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