public interface SimpleClusterable
Modifier and Type | Method and Description |
---|---|
SimpleClusterable |
clone() |
int |
dimension() |
double |
distance(double[] that)
The distance functions are supposed to return the same result
up to rounding and type.
|
double |
distance(SimpleClusterable that) |
int |
label() |
double[] |
projection(java.util.List<Clusterable> direction,
java.util.List<Clusterable> cluster) |
SimpleClusterable |
set(double[] that) |
double[] |
toArray() |
double distance(double[] that) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
double distance(SimpleClusterable that)
double[] projection(java.util.List<Clusterable> direction, java.util.List<Clusterable> cluster) throws NotImplementedException
NotImplementedException
double[] toArray()
SimpleClusterable set(double[] that)
int label() throws NotImplementedException
NotImplementedException
int dimension()
SimpleClusterable clone()