Description Usage Arguments Value
Performs Breadth-first search for a tree and finds a spanning tree.
1 2 3 4 |
graph |
a list whose elements correspond to nodes and contain a vector of nodes neighbours. |
root |
index of the root. |
A vector which contains the index of the parent node. The root node's parent node has a index of zero.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.