code: public static Assignments cluster(Matrix matrix,
                                        int numClusters,
                                        int numRepetitions,
                                        CriterionFunction criterion) {
          return cluster(matrix, numClusters, numRepetitions,
                         new RandomSeed(), criterion);
      }
docs: Clusters {@link matrix} using the {@link RandomSeed}
  seeding algorithm and the specified {@link CriterionFunction}. The best
  scoring solution out of {@code numRepetitions} will be returned.