O
- input object typepublic interface PrimitiveDistanceFunction<O> extends DistanceFunction<O>
Modifier and Type | Method and Description |
---|---|
double |
distance(O o1,
O o2)
Computes the distance between two given DatabaseObjects according to this
distance function.
|
SimpleTypeInformation<? super O> |
getInputTypeRestriction()
Get the input data type of the function.
|
instantiate, isMetric, isSymmetric
double distance(O o1, O o2)
o1
- first DatabaseObjecto2
- second DatabaseObjectSimpleTypeInformation<? super O> getInputTypeRestriction()
DistanceFunction
getInputTypeRestriction
in interface DistanceFunction<O>
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.