Use Tarjan’s Algorithm to find maximal strongly connected subgraph.
Parameters: | counts : sparse matrix (csr is best)
assignments : ndarray, optional
Returns : —- : trimmed_counts : lil sparse matrix
mapping : ndarray
|
---|
See also
Tarjan
Notes
The component with maximum number of counts is selected