public interface Clusterable
Modifier and Type | Method and Description |
---|---|
java.util.List<Clusterable> |
children(java.util.List<Clusterable> cluster)
Split the center of a cluster in two points along the direction
of greatest variance.
|
Clusterable |
clone() |
int |
dimension() |
long |
distanceSquare(Clusterable that) |
int |
label() |
Clusterable |
moveToCenter(java.util.List<Clusterable> cluster)
Changes the Contractable and returns it.
|
double[] |
projection(java.util.List<Clusterable> direction,
java.util.List<Clusterable> cluster) |
Clusterable |
shift(java.util.List<Clusterable> nearest_neighbors)
Must not change the Contractable.
|
long distanceSquare(Clusterable that)
Clusterable shift(java.util.List<Clusterable> nearest_neighbors) throws NotImplementedException
NotImplementedException
Clusterable moveToCenter(java.util.List<Clusterable> cluster)
java.util.List<Clusterable> children(java.util.List<Clusterable> cluster)
double[] projection(java.util.List<Clusterable> direction, java.util.List<Clusterable> cluster) throws NotImplementedException
NotImplementedException
int label() throws NotImplementedException
NotImplementedException
int dimension()
Clusterable clone()