Package samer.mds
Class Euclidean
- java.lang.Object
-
- samer.mds.Euclidean
-
- All Implemented Interfaces:
- MDS.Metric
public class Euclidean extends java.lang.Object implements MDS.Metric
Euclidean metric
-
-
Constructor Summary
Constructors Constructor and Description Euclidean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description double
d(double[] x, double[] y, double[] r)
return distance between x and y, put y-x in r
-
-
-
Method Detail
-
d
public double d(double[] x, double[] y, double[] r)
Description copied from interface:MDS.Metric
return distance between x and y, put y-x in r- Specified by:
d
in interfaceMDS.Metric
-
-