def __init__(self, points, fraction):
super(Graph, self).__init__(points, fraction)
self.order = _np.ascontiguousarray(_np.argsort(self.density).astype(_np.intc)[::-1])
self.delta, self.neighbour = _core.get_delta_and_neighbour(
self.order, self.distances, self.max_distance)
评论列表
文章目录