SciPy

This is documentation for an old release of SciPy (version 1.6.2). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.cluster.hierarchy.DisjointSet.subsets

DisjointSet.subsets(self)[source]

Get all the subsets in the disjoint set.

Returns
resultset

Subsets in the disjoint set.

Previous topic

scipy.cluster.hierarchy.DisjointSet.subset

Next topic

scipy.cluster.hierarchy.DisjointSet.__getitem__