
O - input object typeD - distance result typepublic interface PrimitiveDistanceFunction<O,D extends Distance<?>> extends DistanceFunction<O,D>
| Modifier and Type | Method and Description | 
|---|---|
D | 
distance(O o1,
        O o2)
Computes the distance between two given DatabaseObjects according to this
 distance function. 
 | 
SimpleTypeInformation<? super O> | 
getInputTypeRestriction()
Get the input data type of the function. 
 | 
getDistanceFactory, instantiate, isMetric, isSymmetricD distance(O o1, O o2)
o1 - first DatabaseObjecto2 - second DatabaseObjectSimpleTypeInformation<? super O> getInputTypeRestriction()
DistanceFunctiongetInputTypeRestriction in interface DistanceFunction<O,D extends Distance<?>>