Here coords is the coordinates of the initial clusters and distance matrix is of type ArrayList<List> and contains the distance between every pair of coordinates. This method would be very helpful for testing InitMax.java. Actually, I can go ahead and add the enhancement myself if you are not going to be working on this file.
DistanceMatrix was modified to have this behavior in the latest beta release. Moreover, it returns a DMout object, which contains the distance matrix and other information.
Can you add support for taking in List<Coordinate> in Distance_matrix?
For example:
Here coords is the coordinates of the initial clusters and distance matrix is of type ArrayList<List> and contains the distance between every pair of coordinates. This method would be very helpful for testing InitMax.java. Actually, I can go ahead and add the enhancement myself if you are not going to be working on this file.