Interface ITimeSeriesDistanceWithTimestamps

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default double distance​(double[] a, double[] b)
      Calculates the distance between two time series.
      double distance​(double[] a, double[] tA, double[] b, double[] tB)
      Calculates the distance between two time series.
    • Method Detail

      • distance

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

        default double distance​(double[] a,
                                double[] b)
        Description copied from interface: ITimeSeriesDistance
        Calculates the distance between two time series.
        Specified by:
        distance in interface ITimeSeriesDistance
        Parameters:
        a - First time series.
        b - Second time series.
        Returns:
        Distance between the first and second time series.