Breadth-first search (BFS)
A generic search that
tests all not-yet-searched adjacent vertices 1
and then searches them using BFS.
Footnotes:
1
No “depth”, to maintain the graph-theoretical perspective of generic search.
A generic search that
tests all not-yet-searched adjacent vertices 1
and then searches them using BFS.
No “depth”, to maintain the graph-theoretical perspective of generic search.