Breadth-first search
Summary
Breadth-first search (BFS) explores a graph from a source vertex in layers: first the source, then its neighbours, then their unvisited neighbours, and so on. It uses a queue and runs in time . It finds every vertex reachable from the source and, for each, a path with the fewest edges, so it computes distances in unweighted graphs.
Where this leads
2 pages build on this one.
Further reading
About this page
| Tag | 52XF4HS0X3 |
|---|---|
| URI | m2://52XF4HS0X3 |
| Kind | concept |
| Writing | W0 stub |
| MSC | 05C85, 68R10 |
| Specializes | Algorithm |
| Same as | |
| Changed | 3 November 2026 |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
- a source with a locator (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.