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, isSymmetric
double distance(NumberVector o1, NumberVector o2)
o1
- first DatabaseObjecto2
- second DatabaseObjectCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.