scipy.cluster.hierarchy.DisjointSet.

subset#

DisjointSet.subset(x)[source]#

取得包含 x 的子集。

參數:
x可雜湊物件

輸入元素。

回傳:
result集合

包含 x 的子集。