Informed search & A*
Step 4 of 13 in Classical AI · Theorem · Medium
A* orders nodes by cost-so-far + heuristic estimate. If the heuristic never overestimates (admissible), A* is guaranteed to find the optimal path.
Build it
A* vs BFS
Implement A* with Manhattan distance on the same mazes; compare nodes expanded.
Done when: Same path length as BFS, far fewer nodes on a large open maze.
Break admissibility
Multiply the heuristic by 3 and find a maze where A* returns a non-optimal path.
Done when: You show the longer path and explain why.
Resources
- Wikipedia: A* search algorithm Article
- Berkeley CS188 Course
- Red Blob Games: A* Article
- AIMA (Russell & Norvig) Book
Earn this star
On the map, you log what you built. Finish the step and its star lights.
Open this step on the map