scipy.cluster.hierarchy.DisjointSet.__getitem__

DisjointSet.__getitem__(x)[源代码]

查找的根元素 x

参数
x哈希对象

输入元素。

退货
root哈希对象

的根元素 x