|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
O - object typeD - distance typepublic interface PrimitiveSimilarityFunction<O,D extends Distance<D>>

Interface SimilarityFunction describes the requirements of any similarity function.
| Method Summary | |
|---|---|
SimpleTypeInformation<? super O> |
getInputTypeRestriction()
Get the input data type of the function. |
D |
similarity(O o1,
O o2)
Computes the similarity between two given DatabaseObjects according to this similarity function. |
| Methods inherited from interface de.lmu.ifi.dbs.elki.distance.similarityfunction.SimilarityFunction |
|---|
getDistanceFactory, instantiate, isSymmetric |
| Method Detail |
|---|
D similarity(O o1,
O o2)
o1 - first DatabaseObjecto2 - second DatabaseObject
SimpleTypeInformation<? super O> getInputTypeRestriction()
SimilarityFunction
getInputTypeRestriction in interface SimilarityFunction<O,D extends Distance<D>>
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||