|
|
|||||||||||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
O
- the type of DatabaseObjects handled by this DistanceFunctionD
- the type of Distance used by this DistanceFunctionpublic interface DistanceFunction<O extends DatabaseObject,D extends Distance<D>>
Interface DistanceFunction describes the requirements of any distance function.
Method Summary | |
---|---|
D |
distance(Integer id1,
Integer id2)
Returns the distance between the two objcts specified by their obejct ids. |
D |
distance(Integer id1,
O o2)
Returns the distance between the two specified objects. |
D |
distance(O o1,
O o2)
Computes the distance between two given DatabaseObjects according to this distance function. |
Methods inherited from interface de.lmu.ifi.dbs.elki.distance.MeasurementFunction |
---|
infiniteDistance, isInfiniteDistance, isNullDistance, isUndefinedDistance, nullDistance, requiredInputPattern, setDatabase, undefinedDistance, valueOf |
Methods inherited from interface de.lmu.ifi.dbs.elki.utilities.optionhandling.Parameterizable |
---|
checkGlobalParameterConstraints, description, getAttributeSettings, getParameters, getPossibleOptions, inlineDescription, setParameters |
Method Detail |
---|
D distance(O o1, O o2)
o1
- first DatabaseObjecto2
- second DatabaseObject
D distance(Integer id1, Integer id2)
id1
- first object idid2
- second object id
D distance(Integer id1, O o2)
id1
- first object ido2
- second DatabaseObject
|
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |