O
- vector type, usually NumberVector or a parent typepublic interface NumberVectorDistanceFunction<O> extends PrimitiveDistanceFunction<O>
Modifier and Type | Method and Description |
---|---|
double |
distance(NumberVector o1,
NumberVector o2)
Computes the distance between two given vectors according to this distance
function.
|
distance, getInputTypeRestriction, instantiate
isMetric, isSquared, isSymmetric
double distance(NumberVector o1, NumberVector o2)
o1
- first vectoro2
- second vectorCopyright © 2019 ELKI Development Team. License information.