Class GvmCluster<S extends GvmSpace,K>
- java.lang.Object
-
- org.hortonmachine.gears.utils.clustering.GvmCluster<S,K>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCount()The number of points in the cluster.KgetKey()The key associated with the cluster, may be null.doublegetMass()The total mass of the cluster.doublegetVariance()The computed variance of the cluster
-
-
-
Method Detail
-
getMass
public double getMass()
The total mass of the cluster.
-
getCount
public int getCount()
The number of points in the cluster.
-
getVariance
public double getVariance()
The computed variance of the cluster
-
getKey
public K getKey()
The key associated with the cluster, may be null.
-
-