Plays from YouTube. Watch on YouTube
When does A* actually guarantee the cheapest route?
Prove the relationship between admissibility, consistency, and A* optimality, then watch an inconsistent heuristic force a state to reopen.
We start with admissibility as a lower-bound property, using precise definitions and original examples to establish the problem being solved.
From there, we work through consistency, f-score monotonicity, reopening and proofs, following the actual operations rather than skipping from the input straight to the final answer.
Then we distinguish the local triangle inequality, f monotonicity, goal-on-pop, re-expansion, and completeness conditions with concrete counterexamples.
Finally, we connect the result to implementation. The big idea: an optimality theorem depends on its hypotheses and implementation.
Explore more computer science and mathematics lessons from Closiq.