Heuristic Search Flashcards

1
Q

How can be improve upon the previous algorithms?

A

By having problem specific knowledge, we can guide the search, and perhaps reduce the algorithm time complexity from exponential to polynomial.

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

UCS?

A

Uniform cost search - orders the agenda as a priority queue using the lowest path cost of a node.

Expand cheapest path first.

  • Guaranteed to find cheapest sol if path costs grow monotonically, else exhaustive search is required.
  • Still has a high time complexity
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is informed strategies ?

A

Use problem specific knowledge and choose the most promising path first ie the ones that seem to be getting nearer your goal state.

More efficient than blind search!

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

Greedy Search

A
  • Expands the node that appears to be the closest to goal -> short sighted
  • Not (necessarily) the cheapest, but far less effort.
  • Finds solutions quickly
  • May not find a solution if there is one (incomplete)
  • Susceptible to false starts
  • Only looks at current node, ignores poast
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

A* search

A

Combine UCS and greedy search - we look at cost so far AND estimated cost to goal.

f(n) = g(n) + h(n)

g(n) is path cost of n
h(n) is expected cost of cheapest solution from n

Aims to minimise overall cost.

  • Exponential time
  • Admissible heuristic is used
  • Keeps all nodes in memory
  • Optimal
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Summary ?

A
  • Heuristic functions estimate costs of shortest paths
  • Good heuristics can dramatically reduce search cost
  • Greedy best-first search expands lowest h
  • A* search expands lowest g + h
How well did you know this?
1
Not at all
2
3
4
5
Perfectly