|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
O
- Object typeD
- Distance result typepublic interface DistanceFunction<O,D extends Distance<?>>
Base interface for any kind of distances.
Method Summary | ||
---|---|---|
D |
getDistanceFactory()
Method to get the distance functions factory. |
|
TypeInformation |
getInputTypeRestriction()
Get the input data type of the function. |
|
|
instantiate(Relation<T> relation)
Instantiate with a database to get the actual distance query. |
|
boolean |
isMetric()
Is this distance function metric (in particular, does it satisfy the triangle equation?) |
|
boolean |
isSymmetric()
Is this function symmetric? |
Method Detail |
---|
D getDistanceFactory()
boolean isSymmetric()
true
when symmetricboolean isMetric()
true
when metric.TypeInformation getInputTypeRestriction()
<T extends O> DistanceQuery<T,D> instantiate(Relation<T> relation)
relation
- The representation to use
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |