Content deleted Content added
m clean up, AWB fixes + correct PNAS title if applicable, typo(s) fixed: et. al → et al. using AWB |
|||
Line 41:
{{main|Breadth-first search}}
{{expand section|date=October 2012}}
A breadth-first search (BFS) is another technique for traversing a finite graph. BFS visits the neighbor vertices before visiting the child vertices, and a [[
====Pseudocode====
Line 84:
==Universal Traversal Sequences==
{{expand section|date=December 2016}}
A '''universal traversal sequence''' is a sequence of instructions comprising a graph traversal for any [[regular graph]] with a set number of vertices and for any starting vertex. A probabilistic proof was used by Aleliunas et
relative to the current node, not absolute. For example, if the current node is v<sub>j</sub>, and v<sub>j</sub> has ''d'' neighbors, then the traversal sequence will specify the next node to visit, v<sub>j+1</sub>, as the ''i''<sup>th</sup> neighbor of v<sub>j</sub>, where 1 ≤ ''i'' ≤ ''d''.
|