visitBreadthFirst

open fun visitBreadthFirst(node: Node)(source)

https://en.wikipedia.org/wiki/Breadth-first_search

Parameters

node

the start node, and the first one that is passed to process(node).