Package com.imsl.stat
Interface DBSCAN.Function
- Enclosing class:
- DBSCAN
public static interface DBSCAN.Function
Public interface for the user-supplied function to compute the distances
between points.
-
Method Summary
Modifier and TypeMethodDescriptiondoublecomputeDistance(double[] a, double[] b) Public interface for the user-supplied function to compute the distances between points.
-
Method Details
-
computeDistance
double computeDistance(double[] a, double[] b) Public interface for the user-supplied function to compute the distances between points.- Parameters:
a- adoublearray containing the first data pointb- adoublearray containing the second data point- Returns:
- a
double, the distance between pointsaandb
-