Lecture 3 - Blind Search Strategies Flashcards

1
Q

What is the objective of a search strategy?

A

To systematically explore the state space using a search tree

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

When a node is added to the tree, it is ______.

A

Generated

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

When a node’s children are added to the tree, the node is _______

A

Expanded

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

What is breadth first search?

A

Where all nodes at depth n are expanded before moving on to nodes at depth n+1.

I.e. doing rows of the tree before columns

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

What is a search strategy?

A

A rule for determining which node to expand next

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

What is depth first search?

A

Most recently generated nodes are expanded first.

i.e. going down the tree before going sideways

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

What does a search strategy determine?

A

The order in which the tree will be constructed/traversed

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

When the least recently generated node is expanded next, the search strategy is

________ search

A

breadth first

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

When the most recently generated node is chosen to be expanded next, the search strategy is _________

A

depth first

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

In depth first search, if a node cannot be expanded and is not the goal state, the search strategy will ____________

A

backtrack

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

Before a search strategy backtracks, it

a) must remove the just expanded nodes from the unexpanded list
b) must not remove the just expanded nodes from the unexpanded list

A

a) must remove them

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

Why are depth/breadth first known as blind search strategies?

A

They do not use any extra information when deciding which node to expand next

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

Blind search is also known as

A

uninformed search

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

What is the completeness of breadth first search?

Why?

A

Complete

The program will eventually get to any depth d

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

What is the completeness of depth first search?

Why?

A

Incomplete

If a search space is infinite the program may never get to the branch with the solution

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

In terms of the number of moves in the solution, which blind search strategy is better and why?

A

Breadth first is optimal because clearly the first solution encountered has the minimum depth and hence number of moves.

Depth first might find a solution really deep down a branch - not optimal

17
Q

With

branching factor b

Solution depth d from the root

Maximum depth m

What is the time complexity of Breadth First and Depth First searches?

A

Breadth first:

Max. number of nodes expanded: 1 + b1 + b2 + … + bd

So worst case time complexity = O(bd)

Depth first:

Worst case: Solution is last node reached

So worst case time complexity = O(bm)

18
Q

With

branching factor b

Solution depth d from the root

Maximum depth m

What is the space complexity of Breadth First and Depth First searches?

A

Breadth first:

All nodes at depth n must be kept in memory prior to expanding n+1

So space complexity = O(bd)

Depth first:

When backtracking old nodes are not needed so can be discarded

Space complexity: O(bm)

19
Q

What is depth limited search?

A

A limit is placed on the depth that can be explored before backtracking occurs

20
Q

What is iterative deepening search?

A

Depth limited search but iterates with increasing limit. So if solution not found with limit m, try m+1

21
Q

What is bidirectional search?

A

Search from start state to goal state and at the same time, search backwards from goal to start

When the meet, found a solution.

22
Q

What is the time complexity of bidirectional search?

A

O(bd/2)

Because each path is going to be half the length (they will meet halfway)

23
Q

What are some possible issues with bidirectional search?

A

Must be able to easily work backwards

May be many goal states

Must be easy to test whether the searches have met

24
Q

What is uniform cost search based on?

A

Breadth first

25
Q

What is uniform cost search?

A

A search where each node has an associated cost

Always expand the cheapest node next

26
Q

How is the cost of a node calculated in uniform cost search?

A

The sum of the costs of the nodes leading to it