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

Interface SimilarityFunction describes the requirements of any similarity function.
| Method Summary | ||
|---|---|---|
D |
getDistanceFactory()
Get a distance factory. |
|
TypeInformation |
getInputTypeRestriction()
Get the input data type of the function. |
|
|
instantiate(Relation<T> relation)
Instantiate with a representation to get the actual similarity query. |
|
boolean |
isSymmetric()
Is this function symmetric? |
|
| Method Detail |
|---|
boolean isSymmetric()
true when symmetricTypeInformation getInputTypeRestriction()
D getDistanceFactory()
<T extends O> SimilarityQuery<T,D> instantiate(Relation<T> relation)
relation - Representation to use
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||