Interface IDistanceMetric

    • Method Detail

      • distance

        double distance​(double[] a,
                        double[] b)
        Calculates the distance between two time series.
        Parameters:
        a - First time series.
        b - Second time series.
        Returns:
        Distance between the first and second time series.
      • getDistance

        default double getDistance​(double[] a,
                                   double[] b)
        Specified by:
        getDistance in interface org.api4.java.common.math.IMetric<double[]>