Topics
#heuristics#greedy#a-star#admissibility#dominance#8-puzzle

Heuristic Search

h =
View
Ready
Fringesorted by f
Visited0
Properties at a glance
UCSGreedyA*
Fringe sorted byf = gf = hf = g + h
Complete?Yes*No**Yes*
Optimal?YesNoif h admissible
Time (worst)b1+⌊C*/ε⌋bmbm
Space (worst)b1+⌊C*/ε⌋bmbm

Admissible

h(n) ≤ h*(n) for every node: it never overestimates. So h(goal) = 0. No path to a goal: h* = ∞.

Dominance

h2 ≥ h1 everywhere. Both admissible ⇒ A* with h2 never expands more nodes. max(h1, h2) dominates both and stays admissible.

Footnotes

* if every step costs ≥ ε > 0 and b is finite. ** can loop; complete in finite spaces with a closed set. A good h helps on average, not in the worst case.