components_sp: Components of 'sparse' adjacency matrix

Description Usage Arguments Details Value

View source: R/RcppExports.R

Description

Determines the components of a graph from a sparse (possibly weighted) adjacency matrix using depth-first search

Usage

1

Arguments

x,

a sparse adjacency matrix

Details

indices of the component vector starts from 1 and not 0.

Value

a integer vector with component membership of each node


baruuum/btoolbox documentation built on Aug. 17, 2020, 1:29 a.m.