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 Type
    Method
    Description
    double
    computeDistance(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 - a double array containing the first data point
      b - a double array containing the second data point
      Returns:
      a double, the distance between points a and b