Chapter 2 : Search Flashcards

1
Q

What is uniformed search?

A

Has no idea what the environment entails

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

What is informed search?

A

Uses information about environment to conduct a search efficiently

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

What are the complete/optimal/complexities of breadth-first search

A

Complete: yes
Optimal: yes
Time complexity: O(b^d)
Space complexity: O(b^d)

where d is depth of solution

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

What are the complete/optimal/complexities of uniform cost search?

A

Complete: yes
Optimal: yes
Time complexity: O(b^(c/epsilon)+1)
Space complexity: O(b^(c
/epsilon)+1)

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

What are the complete/optimal/complexities of depth-first search?

A

Complete: no
Optimal: no
Time complexity: O(b^M)
Space complexity: O(b^M)

where M is depth of tree

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

What are the complete/optimal/complexities of depth-limited search?

A

Complete: if l >= d yes, if l < d no
Optimal: only optimal if l = d, otherwise no
Time complexity: O(b^L)
Space complexity: O(b^L)

where l is level and d is depth of solution

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

What are the complete/optimal/complexities of iterative deepening tree?

A

Complete: yes
Optimal: yes
Time complexity: O(b^d)
Space complexity: O(b*d)

d is depth of solution

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

What are the complete/optimal/complexities of bidirectional tree?

A

Complete: yes
Optimal: yes
Time complexity: O(b^(d/2))
Space complexity: O(b^(d/2))

d is depth of solution

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

What are the complete/optimal/complexities of greedy best-first search?

A

Complete: yes, in finite spaces
Optimal: no, can make a bad decision
Time complexity: O(b^M)
Space complexity: O(b^M)

where M is depth of tree

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

What are the complexities of A* Pathfinding?

A

Complete: yes
Optimal: yes

*Only if a good heuristic is used

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

What is local search?

A

Only operate on single current node (rather then looking at entire state) and generally only moves to neighbors

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

What are advantages of local search?

A
  • Less memory

- Can find reasonable solutions in huge state spaces which would not be possible with informed/uninformed searches

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

Where does hill climbing search get stuck?

A

plateaus, local maxima, ridges

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

What are solutions to fixing hill climbing search?

A
  • Random restart

- Problem reformulation

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

Is hill climbing search guaranteed to find solution?

A

False, if probability of finding solution is p chance of finding a solution on each restart is 1/p

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

What does simulated annealing search do?

A

Algorithm allows “smartly” to make bad decisions in hopes it will lead to an eventual smart decision at end.

f - heuristic function
T - temperate (if larger then accepts worse decisions)

17
Q

What is local beam search?

A
  • Starts with k randomly generated states

- If goal found stop, otherwise pick best k’ states

18
Q

What is gradient/descent search?

A

Used for continuous environments to find minma/maxima

19
Q

What is adversarial search?

A

Used in multi-agent competitive environments where agents goals are in conflict

20
Q

What is Mini-max search?

A

Adversarial search algorithm that assumes

  • 2 Players
  • Game is zero-sum (one wins)
  • Each player plays optimally
  • One player tries to maximize utility function other tries to minimize it
21
Q

What is alpha beta pruning?

A

Used in Minimax state trees on terminal nodes that will have no impact on decisions