mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-01-14 06:17:59 -05:00
@@ -73,7 +73,7 @@ def update_clusters(clusters):
|
||||
mind = min(dlist)
|
||||
min_id = dlist.index(mind)
|
||||
clusters.labels[ip] = min_id
|
||||
cost += min_id
|
||||
cost += mind
|
||||
|
||||
return clusters, cost
|
||||
|
||||
|
||||
Reference in New Issue
Block a user