Home
last modified time | relevance | path

Searched refs:maxK (Results 1 – 1 of 1) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLocationClustering.java209 int maxK = Math.min(n, MAX_GROUPS); in kMeans() local
211 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()