ENفا
Open V2 Studio →AI Problem Formulation & Search Simulator
Automated Clothing Warehouse Robot — 3×3 grid, cost-aware planning
Islamic Azad University, Central Tehran Branch · Presenter: Mohammad Mehdi Koulaei · Professor: Nayereh Zaghari
(1,1)
Start S₀
(1,2)
Corridor
(1,3)
Shipping unit
(2,1)
Corridor
(2,2)
Blocked obstacle
(2,3)
Corridor
(3,1)
Clothing rack
(3,2)
Corridor
(3,3)
Corridor
((1,1),(3,1),0)
Start · g=0 h=10 f=10
Solved, g = 10, 8 actionsExpanded: 9Max frontier: 5
Optimal with an admissible, consistent h; expands only the f=10 path and leaves f≥12 on the frontier.
A* chose ((1,1),(3,1),0) because f=g+h=0+10=10 is lowest; the best alternative has f=10 (frozen on the frontier).
Frontier inspector: Priority queue by f = g + h
▶ ((1,1),(3,1),0) f=10
Optimal path (f = 10)Frontier (unexpanded)× Pruned duplicate / obstacle hit
Click a node to show its state on the grid.
Expansion log
| # | State | Action | g | h | f |
|---|---|---|---|---|---|
| 1 | ((1,1),(3,1),0) | Start | 0 | 10 | 10 |
| 2 | ((2,1),(3,1),0) | Down (+1) | 1 | 9 | 10 |
| 3 | ((3,1),(3,1),0) | Down (+1) | 2 | 8 | 10 |
| 4 | ((3,1),(3,1),1) | Pick (+2) | 4 | 6 | 10 |
| 5 | ((3,2),(3,2),1) | Right (+1) | 5 | 5 | 10 |
| 6 | ((3,3),(3,3),1) | Right (+1) | 6 | 4 | 10 |
| 7 | ((2,3),(2,3),1) | Up (+1) | 7 | 3 | 10 |
| 8 | ((1,3),(1,3),1) | Up (+1) | 8 | 2 | 10 |
| 9 | ((1,3),(1,3),0) | Drop (+2) | 10 | 0 | 10 |
Green rows lie on the returned solution; grey rows have f ≥ 12.