
O - Object typepublic interface DistanceFunction<O>
| Modifier and Type | Method and Description | 
|---|---|
TypeInformation | 
getInputTypeRestriction()
Get the input data type of the function. 
 | 
<T extends O>  | 
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? 
 | 
boolean isSymmetric()
true when symmetricboolean isMetric()
true when metric.TypeInformation getInputTypeRestriction()
<T extends O> DistanceQuery<T> instantiate(Relation<T> relation)
relation - The representation to useCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.