powered by
bfsearch(amat, 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 bfsearch(UG(~ a*b*o + o*u*j)) ## Starting from another node bfsearch(UG(~ a*b*o + o*u*j), v=3)
Run the code above in your browser using DataLab