scipy.cluster.hierarchy.DisjointSet.

__getitem__#

DisjointSet.__getitem__(x)[source]#

尋找 x 的根元素。

參數:
x可雜湊物件

輸入元素。

回傳值:
root可雜湊物件

x 的根元素。