|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
O
- Object typepublic interface PrimitiveDoubleDistanceFunction<O>
Interface for distance functions that can provide a raw double value. This is for use in performance-critical situations that need to avoid the boxing/unboxing cost of regular distance API.
Method Summary | |
---|---|
double |
doubleDistance(O o1,
O o2)
Computes the distance between two given Objects according to this distance function. |
Methods inherited from interface de.lmu.ifi.dbs.elki.distance.distancefunction.PrimitiveDistanceFunction |
---|
distance, getInputTypeRestriction |
Methods inherited from interface de.lmu.ifi.dbs.elki.distance.distancefunction.DistanceFunction |
---|
getDistanceFactory, instantiate, isMetric, isSymmetric |
Method Detail |
---|
double doubleDistance(O o1, O o2)
o1
- first Objecto2
- second Object
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |