com.sun.labs.minion
Interface ClusterStatistics

All Known Implementing Classes:
ClusterStatisticsImpl

public interface ClusterStatistics

An interface for getting a number of statistics relating to a cluster of documents.

See Also:
ResultsCluster

Method Summary
 double mean()
          Gets the mean distance of the cluster elements from the cluster centroid.
 int size()
          Gets the number of elements in the cluster.
 double variance()
          Gets the variance of the distance of the cluster elements from the cluster centroid.
 

Method Detail

size

int size()
Gets the number of elements in the cluster.

Returns:
the number of elements in this cluster

mean

double mean()
Gets the mean distance of the cluster elements from the cluster centroid.

Returns:
the mean distance of the cluster elements from the cluster centroid.

variance

double variance()
Gets the variance of the distance of the cluster elements from the cluster centroid.

Returns:
the variance of the distance of the cluster elements from the cluster centroid.