Overview
Bidirectional Search can reduce explored nodes by growing two smaller search frontiers instead of one large one.
Searches from both the start and goal until the frontiers meet.
Compact metadata for implementation and discovery.
Bidirectional Search can reduce explored nodes by growing two smaller search frontiers instead of one large one.
Quick facts
Runtime and memory behavior at a glance.
Best
O(b^(d/2))
Average
O(b^(d/2))
Worst
O(b^d)
Space
O(b^(d/2))
Show two expanding frontiers meeting in the middle.
Bidirectional Search operates in O(b^(d/2)) time and O(b^(d/2)) space within the Meet-in-the-Middle Search family. Often compared with Breadth-First Search and A* Search.
What each reference supports for this entry.
Reference for Bidirectional Search breadth-first search variants and graph-search frontier behavior.
Good next jumps from the relationship graph, ranked for useful discovery.
Bidirectional search is the broader two-frontier strategy.
The unweighted form runs BFS from both endpoints.