11 Comparison of searches
| Strategy | Selection from frontier | Path found | Space |
|---|---|---|---|
| Breadth-first | First node added (FIFO) | Fewest arcs | |
| Depth-first | Last node added (LIFO) | ||
| Iterative deepening | N/A | Fewest arcs | |
| Uniform cost | Minimal | Least cost | |
| Greedy | Minimal | ||
| A* | Minimal | Least cost |
| = branching factor |
| = depth of shallowest solution |
| = not guaranteed to find solution |
| blue = uninformed, red = informed |