powered by
bfs(gmat, v = 1)
Thulasiraman, K. & Swamy, M.N.S. (1992). Graphs: theory and algorithms. New York: Wiley.
UG
findPath
cycleMatrix
## Finding a spanning tree of the butterfly graph bfs(UG(~ a*b*o + o*u*j)) ## Starting from another node bfs(UG(~ a*b*o + o*u*j), v=3)
Run the code above in your browser using DataLab