Informed Search Flashcards

1
Q

What is an informed search?

A

search that uses domain-specific hints about the location of goals to find a solution more efficiently than uninformed searched

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

What is a heuristic function?

A

h(n): the estimated cost of the cheapest path from the current node, n, to the goal state

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

What is greedy best-first search?

A

an informed search algorithm

Form of best-first search where the node with the lowest h(n) is expanded first
- this node appears to be closest to the goal –> more likely to leave us to solution quickly

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

What is the evaluation function of greedy best-first search? What is f(n)?

A

f(n) = h(n)

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

Is greedy best-first search complete?

A

Yes, if there is a finite number of nodes

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

What is the space complexity of greedy best-first search?

A

Worst case: O(b^m) where m = maximum depth of search space
Best case: O(bm)

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

What is the time complexity of greedy best-first search?

A

Worst case: O(b^m) where m = maximum depth of search space
Best case: O(bm)

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

What is A* search?

A

a best-first search algorithm where the cost of the current path plus the cost to move to the next node are taken into account. The cost function is… f(n) = g(n) + h(n)

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

Is A* complete?

A

Yes, always returns shortest path

Returns no path if no path

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

What is admissibility?

A

When an admissible heuristic never overestimates the cost of a path

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

T/F: every consistent heuristic is admissible, and every admissible heuristic is consistent

A

False:
Every consistent heuristic is admissible
Not every admissible heuristic is consistent

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

What is a contour?

A

a useful way to visualize a state space

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

What does it mean to be monotonic?

A

When the cost always increases as you go along a path because action costs are always positive

the g cost increases like this in A*

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

What does it mean to be optimally efficient?

A

When the most efficient solution will be the optimal one

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

Why is A* efficient?

A

only looks at nodes in the search tree that contribute to the optimal solution

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

What is an inadmissible heuristic?

A

A heuristic that may overestimate the cost to the goal state

17
Q

What is one downside of A*?

A

It expands a lot of nodes

18
Q

What is weighted A*?

A

Where the heiristic value is given more of a pull in the evaluation function

f(n) = g(n) + W * h(n), where W > 1

19
Q

What is the evaluation function of the following?

  1. A* search
  2. Uniform-cost search
  3. Greedy best-first search
  4. Weighted A* search
A
  1. g(n) + h(n)
  2. g(n)
  3. h(n)
  4. g(n) + W* h(n) , (1 < W < inf)
20
Q

What is a bounded suboptimal search?

A

when you look for the solution that is guaranteed to be within a constant factor W of the optimal cost

21
Q

What is a bounded-cost search?

A

when you look for a solution whose cost is less than some constant C

22
Q

What is an unbounded-cost search?

A

When you accept a solution of any cost, as long as it can be found quickly

23
Q

What is speedy search?

A

version of greedy best-first search where the heuristic estimates the number of actions required to reach a goal, not the cost of the actions

leads to high and low costs

24
Q

What is the main problem with A*?

A

Memory; keeps track of open and closed list

25
Q

What is a reference count?

A

tells the number of times a state has been reached and removed it from the closed list when there are no more ways to reach the state

e.g. in a grid world where each state can only be reached from its four neighbors, when a state is reached four times, it’s removed from the closed list

One way to decrease memory usage (i.e. A*)