is.connected {simplifyNet} | R Documentation |
Connectivity of Graph
Description
Tests the connectivity of a graph by performing a Depth First Search (DFS) from a random node.
Usage
is.connected(Adj)
Arguments
Adj |
Adjacency matrix. |
Details
Intended as internal function.
Value
Return TRUE if network is connected and FALSE if not connected.If the network is directed, then this function checks if the network is strongly connected.
Author(s)
Andrew Kramer
Alexander Mercier
[Package simplifyNet version 0.0.1 Index]