
O - object typeD - distance typepublic interface SimilarityFunction<O,D extends Distance<?>> extends Parameterizable
| Modifier and Type | Method and Description | 
|---|---|
| D | getDistanceFactory()Get a distance factory. | 
| TypeInformation | getInputTypeRestriction()Get the input data type of the function. | 
| <T extends O>  | instantiate(Relation<T> relation)Instantiate with a representation to get the actual similarity query. | 
| boolean | isSymmetric()Is this function symmetric? | 
boolean isSymmetric()
true when symmetricTypeInformation getInputTypeRestriction()
D getDistanceFactory()
<T extends O> SimilarityQuery<T,D> instantiate(Relation<T> relation)
relation - Representation to use