Reputation: 23
Problem
Say, for example, I am given a set of points like the following:
I want to find the n points with the closest average distance between each other (assuming I know the distance between all points and the total number of points is divisible by n).
Case 1: So going on the example I showed before, let's say n was 3, then I would get something the following with no overlap:
Case 2: If n was 2 then I should get the following:
Question: Is there any sort of algorithm that could be used to implement this?
Upvotes: 2
Views: 196