Test for cycles in biograph object
isdag(
BGObj
)
BGObj | Biograph object created by biograph (object
constructor). |
Tip
For introductory information on graph theory functions, see Graph Theory Functions.
isdag(
returns
logical 1 (BGObj
)true
) if an N-by-N adjacency matrix
extracted from a biograph object, BGObj
,
is a directed acyclic graph (DAG) and logical 0 (false
)
otherwise. In the N-by-N sparse matrix, all nonzero entries indicate
the presence of an edge.
[1] Siek, J.G., Lee, L-Q, and Lumsdaine, A. (2002). The Boost Graph Library User Guide and Reference Manual, (Upper Saddle River, NJ:Pearson Education).
allshortestpaths
| biograph
| conncomp
| graphisdag
| isomorphism
| isspantree
| maxflow
| minspantree
| shortestpath
| topoorder
| traverse