Day 8 Flashcards

1
Q

For this particular problem, greedy best-first search using β„Žπ‘†πΏπ· finds a solution without ever expanding a node that is not on the solution path. The solution it found does not have optimal cost

A

This is why the algorithm is called β€œgreedy”—on each iteration it tries to get as close to a goal as it can, but greediness can lead to worse results than being careful

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

The most common informed search algorithm is A* search (pronounced β€œA-star search”), a best-first search that uses the evaluation function 𝑓 𝑛 = 𝑔 𝑛 + β„Ž(𝑛)

A

where g(n) is the path cost from the initial state to node n, and h(n) is the estimated cost of the shortest path from n to a goal state

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

Greedy best-first graph search is complete in finite state spaces, but not in infinite ones.

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

The worst-case time and space complexity is O(|V |). With a good heuristic function, however, the complexity can be reduced substantially, on certain problems reaching O(bm)

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

A key property is admissibility: an admissible heuristic is one that never overestimates the cost to reach a goal

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

A* search is complete

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

With an admissible heuristic, A* is cost-optimal

A

With an inadmissible heuristic, A* may or may not be cost-optimal.

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

With an inadmissible heuristic, A* may or may not be cost-optimal.

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