Best First Search, A* Search, and heuristics (slides4) Flashcards

1
Q

Best-first search

A

informed search algorithms use problem-specific knowledge to speed up the search process

use an evaluation function f(n) for each node
-to determine “desirability” of the node
Heuristic functions h(n) is a component of f(n)

-expand node with lowest f(n) first

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

heuristic functions

A

h(n): estimates the cost of the cheapest path from n to a goal

  • depends only on state associated with n
  • assume h(n) is non-negative and that it equals 0 at every goal state
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

greedy best first search

A

expands the node that appears to be closest to goal

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

greedy best first search

A

completeness: no
time: O(b^m)
- (a good heuristic gives a dramatic improvement)
space: O(b^m) – keeps all nodes in memory
optimality: no

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

A* search

A

avoid expanding paths that are already expensive

evaluation function f(n) = g(n) + h(n)
g(n) = cost so far to reach n
h(n) = estimated cost from n to goal
f(n) = estimated total cost of path through n to goal

like uniform-cost search with f=g+h instead of g

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

admissibility

A

heuristic is admissible for every node n, h(n)<=h(n) where h(n) is the true cost to reach the goal state from n

an admissible heuristic never overestimates the cost to reach the goal, e.g. its optimistic
if h(n) is admissible A* using tree search is optimal
-review proof in slides

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

consistent heuristics

A

a heuristic is consistent if for every node n every successor n’ of n generated by any action a,
h(n) admissibility

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

properties of A*

A

completeness: yes(unless there are infinitely many nodes with f<= f(G))
time: exponential
space: keeps all nodes in memory
optimal: yes

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

heuristic dominance

A

if h2(n) and h1(n) are both admissible and h2(n)>= h1(n) for all n, then h2 dominates h1, so h2 is a better heuristic

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

relaxed problems

A

a problem with fewer restrictions

  • a superset of actions are available from each state
  • graph of relaxed problem is a supergraph of the original
  • cost of an optimal soln may be same or lower
How well did you know this?
1
Not at all
2
3
4
5
Perfectly