|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- The class of the objects of which proximity can be computedpublic interface Proximity<T>
A measure for computing the proximity of two objects of same class. A higher value signals higher proximity.
Method Summary | |
---|---|
double |
computeNormalizedProximity(T v1,
T v2)
Compute a kind of proximity between two objects. The value returned by this method has to be between 0 (meaning they are as far away (according to the proximity measure) from each other as possible) and 1 (identical objects according to the proximity measure). |
double |
computeProximity(T v1,
T v2)
Compute a kind of proximity between two objects. |
Method Detail |
---|
double computeProximity(T v1, T v2)
v1
- One object, to be compared to the...v2
- ...second object
double computeNormalizedProximity(T v1, T v2)
v1
- One object, to be compared to the...v2
- ...second object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |