components_in_adjacency {SeqNet}R Documentation

C++ implementation to obtain connected components in a graph.

Description

C++ implementation to obtain connected components in a graph.

Usage

components_in_adjacency(adj)

Arguments

adj

An adjacency matrix.

Value

Returns a matrix with 2 columns containing the indicies in the lower-triangle of the matrix that are nonzero.


[Package SeqNet version 1.1.3 Index]