T - the type of point that can be clusteredClusterable instead@Deprecated public interface Clusterable<T>
| Modifier and Type | Method and Description | 
|---|---|
| T | centroidOf(Collection<T> p)Deprecated.  Returns the centroid of the given Collection of points. | 
| double | distanceFrom(T p)Deprecated.  Returns the distance from the given point. | 
double distanceFrom(T p)
p - the point to compute the distance fromT centroidOf(Collection<T> p)
p - the Collection of points to compute the centroid ofCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.