public static class KMeans.Centroid extends KMeans.Point
| Modifier and Type | Field and Description |
|---|---|
int |
id |
x, y| Constructor and Description |
|---|
Centroid() |
Centroid(int id,
double x,
double y) |
Centroid(int id,
KMeans.Point p) |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
add, clear, div, euclideanDistancepublic Centroid()
public Centroid(int id,
double x,
double y)
public Centroid(int id,
KMeans.Point p)
public String toString()
toString in class KMeans.PointCopyright © 2013–2014. All rights reserved.