Heuristic Search Flashcards

(5 cards)

1
Q

What is a heuristic search

A

Explores the next best node, more likely to lead to the goal state
Using domain knowledge, so called informed/heuristic search

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

A* algorithm

A

Combines the cost so far and the estimated heuristic cost to the goal

F(n) = g(n) + h(n)

G - path cost from initial state to current state
H - heuristic cost from current state to goal state
F - estimated cost of the cheapest solution

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

What makes a good heuristic

A

Admissible
Closer the estimate of the heuristic to the actual cost the better

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

Estimating h in A*

A

How to estimate h
Optimal and complete if the heuristic is admissible
Admissible - the heuristic must never overestimate the cost to reach the goal
H(n) a valid lower bound on cost to the goal

Straight line distance is an admissible heuristic
Will never overestimate the cost to the goal

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

Difference between USC and A*

A

Both complete and optimal
A* search is directed, USC is undirected

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