|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DistanceMeasure
Interface for distance measures of n-dimensional vectors.
| Method Summary | |
|---|---|
double |
compute(double[] a,
double[] b)
Compute the distance between two n-dimensional vectors. |
| Method Detail |
|---|
double compute(double[] a,
double[] b)
The two vectors are required to have the same dimension.
a - the first vectorb - the second vector
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||