T
- the type of point that can be clusteredpublic interface Clusterable<T>
Modifier and Type | Method and Description |
---|---|
T |
centroidOf(java.util.Collection<T> p)
Returns the centroid of the given Collection of points.
|
double |
distanceFrom(T p)
Returns the distance from the given point.
|
double distanceFrom(T p)
p
- the point to compute the distance from"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"