|
|
|||||||||||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||||||||||
O - object typeD - distance typepublic interface SimilarityFunction<O extends DatabaseObject,D extends Distance<D>>
Interface SimilarityFunction describes the requirements of any similarity function.
| Method Summary | |
|---|---|
D |
similarity(Integer id1,
Integer id2)
Returns the similarity between the two objects specified by their object ids. |
D |
similarity(Integer id1,
O o2)
Returns the similarity between the two specified objects. |
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.MeasurementFunction |
|---|
getDistanceFactory, infiniteDistance, nullDistance, setDatabase, undefinedDistance, valueOf |
| Method Detail |
|---|
D similarity(Integer id1,
Integer id2)
id1 - first object idid2 - second object id
D similarity(Integer id1,
O o2)
id1 - first object ido2 - second DatabaseObject
D similarity(O o1,
O o2)
o1 - first DatabaseObjecto2 - second DatabaseObject
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||