Professional Documents
Culture Documents
Lecture 5
Environment Type Discussed In this Lecture
Fully
⚫ Static Environment
Observable
yes
Deterministic
yes
Sequential
yes no
Discrete no
yes Discrete
no
yes
Planning, Control, Vector Search: Continuous Function
heuristic cybernetics Constraint Optimization
search Satisfaction
Review: Tree search
⚫ Implementation:
Order the nodes in frontier in decreasing order of
desirability
⚫ Special cases:
greedy best-first search
A* search
Romania with step costs in km
Greedy best-first search
⚫ Evaluation function
f(n) = h(n) (heuristic)
= estimate of cost from n to goal
improvement
⚫ Optimal? No
A* search
• We stop when the node with the lowest f-value is a goal state.
• Is this guaranteed to find the shortest path?
Properties of A*
⚫ Time? Exponential
⚫ Optimal? Yes
Summary