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