Interface Clusterable<T>
- Type Parameters:
T- the type of point that can be clustered
- All Known Implementing Classes:
EuclideanDoublePoint,EuclideanIntegerPoint
Deprecated.
Interface for points that can be clustered together.
- Since:
- 2.0
-
Method Summary
Modifier and TypeMethodDescriptioncentroidOf(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 Details
-
distanceFrom
Deprecated.Returns the distance from the given point.- Parameters:
p- the point to compute the distance from- Returns:
- the distance from the given point
-
centroidOf
Deprecated.Returns the centroid of the given Collection of points.- Parameters:
p- the Collection of points to compute the centroid of- Returns:
- the centroid of the given Collection of Points
-
Clusterableinstead