Informed Search Flashcards
1
Q
Uniform Cost Search
A
- frontier is a priority queue
- a node’s priority is its distance from the initial state
2
Q
What are the performance properties of Uniform Cost Search?
A
Complete: yes, if step-costs are positive
Optimal: yes, if step-costs are positive
Time: O(b^(1 + [c/e])
Space: O(b^(1 + [c/e])
note: C* = path cost of the optimal solution and e = the smallest step cost for any action
3
Q
A* Search
A
- frontier is a priority queue
- node’s priority is its evaluation function f(n)
- f(n) = g(n) + h(n)
- h(n) is a heuristic function
4
Q
admissible heuristic
A
it never over-estimates
5
Q
constistency
A
later guesses aren’t inconsistent with earlier guesses
6
Q
What are the performance properties of A* search?
A
Complete: yes, if b is finite and step costs are positive
Optimal: yes, if h(n) is admissible (tree search) or consistent (graph search)
Time: O(c^d)
Space: O(c^d)
note: c = effective branching factor
7
Q
A