Algorithm idea

IDA* (Iterative Deepening A*) combines the space efficiency of iterative deepening with the optimality of A*. It performs depth-first search with successively increased cost thresholds.

The algorithm uses an admissible heuristic function to guide the search and guarantees finding the optimal path while using minimal memory.

Bi-directional IDA* runs the search simultaneously from both start and goal nodes, potentially reducing the search space significantly.

Guide

Drag the START(😊) and TARGET(🏠) icons to change their positions, and click on the blank nodes to add Walls.

Start Node
Target Node
Wall
Visited
Shortest Path