Learn R Programming

simplifyNet (version 0.0.1)

is.connected: 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)

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.

Arguments

Adj

Adjacency matrix.

Author

Andrew Kramer

Alexander Mercier

Details

Intended as internal function.