update pbnbv
This commit is contained in:
@@ -83,7 +83,8 @@ class PredictResult:
|
||||
def get_center_matrix_pose_from_cluster(self, cluster):
|
||||
min_total_distance = float('inf')
|
||||
center_matrix_pose = None
|
||||
|
||||
if len(cluster) == 1:
|
||||
return cluster[0]
|
||||
for matrix_pose in cluster:
|
||||
total_distance = 0
|
||||
for other_matrix_pose in cluster:
|
||||
@@ -94,6 +95,7 @@ class PredictResult:
|
||||
min_total_distance = total_distance
|
||||
center_matrix_pose = matrix_pose
|
||||
|
||||
|
||||
return center_matrix_pose
|
||||
|
||||
def get_candidate_poses(self):
|
||||
|
Reference in New Issue
Block a user