A Search: F (N) Estimated Cost of The Best Path That Continues From N To A Goal
A Search: F (N) Estimated Cost of The Best Path That Continues From N To A Goal
where g(n) is the path cost from the initial state to node n, and
h(n) is the estimated cost of the cheapest path from n to a goal
state, so we have,
f(n) = estimated cost of the best path that continues from n to a goal.
A* search
A* search : Admissibility
An admissible heuristic is one that never overestimates the cost to reach the goal.
Admissible heuristics are by nature optimistic because they think the cost of solving the
problem is less than it actually is.
Straight-line distance is admissible because the shortest path between any two points is a
straight line, so the straight line cannot be an overestimate.
• Suppose the optimal path has cost C*, but the algorithm
returns a path with cost C > C*. Then there must be some
node n which is on the optimal path and is unexpanded.
• The notation g*(n) denote the cost of the optimal path from the
start to n, and h*(n) denote the cost of the optimal path from n to
the nearest goal, we have: