Searched refs:maxK (Results 1 – 1 of 1) sorted by relevance
209 int maxK = Math.min(n, MAX_GROUPS); in kMeans() local211 Point[] center = new Point[maxK]; // center of each group. in kMeans()212 Point[] groupSum = new Point[maxK]; // sum of points in each group. in kMeans()213 int[] groupCount = new int[maxK]; // number of points in each group. in kMeans()216 for (int i = 0; i < maxK; i++) { in kMeans()232 for (int k = minK; k <= maxK; k++) { in kMeans()