コード例 #1
0
ファイル: trajectory.py プロジェクト: dh-shin/traclus_impl
 def find_neighbors_of(self, cluster_candidate):
     neighbors = ClusterCandidateIndex.find_neighbors_of(
         self, cluster_candidate)
     cluster_candidate.set_num_neighbors(len(neighbors))
     return neighbors
コード例 #2
0
 def find_neighbors_of(self, cluster_candidate):
     neighbors = ClusterCandidateIndex.find_neighbors_of(self, cluster_candidate)
     cluster_candidate.set_num_neighbors(len(neighbors))
     return neighbors