DFS | R Documentation |
Iterative depth first search.
DFS(Adj, v, discovered)
Adj |
Adjacency matrix. |
v |
Node to perform DFS from. |
discovered |
A list of discovered nodes from |
Intended as internal function.
Logical of length n where TRUE denotes connected to node v
.
Andrew Kramer
Alexander Mercier
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.