Home | History | Annotate | Download | only in data

Lines Matching defs:points

87         final ArrayList<Point> points = new ArrayList<Point>();
93 points.add(new Point(s.lat, s.lng));
105 pointsArray = points.toArray(pointsArray);
201 // Input: n points
204 private static int[] kMeans(Point points[], int[] bestK) {
205 int n = points.length;
212 Point[] groupSum = new Point[maxK]; // sum of points in each group.
213 int[] groupCount = new int[maxK]; // number of points in each group.
233 // step 1: (arbitrarily) pick k points as the initial centers.
236 Point p = points[i * delta];
251 Point p = points[i];