Interface Clusterable<T>
-
- Type Parameters:
T- the type of point that can be clustered
- All Known Implementing Classes:
EuclideanDoublePoint,EuclideanIntegerPoint
@Deprecated public interface Clusterable<T>Deprecated.As of 3.2 (to be removed in 4.0), useClusterableinsteadInterface for points that can be clustered together.- Since:
- 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description TcentroidOf(java.util.Collection<T> p)Deprecated.Returns the centroid of the given Collection of points.doubledistanceFrom(T p)Deprecated.Returns the distance from the given point.
-
-
-
Method Detail
-
distanceFrom
double distanceFrom(T p)
Deprecated.Returns the distance from the given point.- Parameters:
p- the point to compute the distance from- Returns:
- the distance from the given point
-
-