Lecture 4 - Heuristic search strategies Flashcards

1
Q

What is an evaluation function?

A

a function that estimates how close a state is to a goal state

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

What is a heuristic?

A

An evaluation function that may not be perfect

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

What is a heuristic search strategy?

A

A search strategy that uses a heuristic function to determine which node should be expanded next

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

What is greedy search?

A

Always chooses the node that the heuristic indicates is closest to the goal state

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

Is greedy search optimal?

Why?

A

No

It doesn’t expand each node so may not find the most optimal route

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

Greedy search typically has a _____ search time

a) low
b) high

A

a) low

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

What is A* search?

A

A combination of uniform cost search and greedy search

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

If

g(n) is the cost to get from the initial node to node n, and

h(n) is the estimated cost to get to the goal state from node n, then

Expanding the node with the smallest g(n) is what type of search?

A

Uniform Cost

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

If

g(n) is the cost to get from the initial node to node n, and

h(n) is the estimated cost to get to the goal state from node n, then

Expanding the node with the smallest h(n) is what type of search?

A

Greedy Search

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

If

g(n) is the cost to get from the initial node to node n, and

h(n) is the estimated cost to get to the goal state from node n, then

Expanding the node with the smallest g(n)+h(n) is what type of search?

A

A* search

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

In A* search, a solution is found when

a) the goal node is generated
b) the goal node is expanded

A

b) expanded

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

What is an admissible heuristic?

A

A heuristic that never overestimates the true cost of reaching the goal.

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

Providing an admissible heuristic is used, is A* search complete and optimal?

A

Yes and yes

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

What is the main limitation on the use of A* search? Why?

A

Space complexity - it grows exponentially unless the heuristic is very accurate

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

Greedy search is also known as

A

best first search

however,

best first search may also refer to A* search

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

What is hill climbing?

A

A search strategy that finds local maxima but may not find the absolute maximum

17
Q

Give an example of hill climbing using a set of towns and moving from one town to another

A

Pick a road that seems to be heading in the right direction

When you get to the next town, pick the one that is going in the best direction

18
Q

Hill climbing _________ allow back tracking

a) does
b) doesn’t

A

Does not

19
Q

In many real problems, the only practical search strategy is _____?

A

Hill Climbing