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

Primitive distance function that is defined on some kind of object.
| Method Summary | |
|---|---|
|  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. | 
| Methods inherited from interface de.lmu.ifi.dbs.elki.distance.distancefunction.DistanceFunction | 
|---|
| getDistanceFactory, instantiate, isMetric, isSymmetric | 
| Method Detail | 
|---|
D distance(O o1,
           O o2)
o1 - first DatabaseObjecto2 - second DatabaseObject
SimpleTypeInformation<? super O> getInputTypeRestriction()
DistanceFunction
getInputTypeRestriction in interface DistanceFunction<O,D extends Distance<?>>| 
 | 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||