AI Week 2 Flashcards

1
Q

Informed/Heuristic Search

A

A search algorithm that provides an estimate of how far away the current state is from the goal state. This allows us to choose a next state that brings us closest to our goal state.

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

Heuristic Function

A

A function that uses domain-specific knowledge to estimate how far away a current state is from the goal state.
h: state -> R

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

A* Algorithm

A

A search algorithm that chooses the next state with the smallest cumulative cost and smallest estimated future cost.

The next state has the cheapest cost f(n) = g(n) + h(n) where
n = a node/current state
g(n) = cumaltive cost from root to current state (backward cost)
h(n) = heuristic cost, estimation of cost from current state to goal state (forward cost)

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

Admissible Heuristic Function

A

An admissible heuristic function is a function that will never overestimate the true cost of getting from the current state to the goal state. Most admissible heuristics are derived from relaxed problems.

A* is only admissable when we have an admissable heuristic function.

If we have a collection of heuristics, h1, h2, …, hm, then our net heuristic function is h(n) = max{h1(n), h2(n), …, hm(n)}

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

A* Algorithm Properties

A

A* is:
complete
optimal when we have an admissable heuristic

c* = cheapest possible cost to get from root to goal state, ie cost of optimal solution
E = cheapest possible cost to get from one state to the next state
b = branching factor
O(b^[1+c*/E]) is space and time complexity

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

Hill Climbing

A

An algorithm to find a min or max

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

Local Search VS Search Problem

A

Local search and search problems are both deterministic,

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