Class AMinimumDistanceSearchStrategy

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected boolean useBiasCorrection
      Indicator whether Bessel's correction should be used within any distance calculation;
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract double findMinimumDistance​(Shapelet shapelet, double[] timeSeries)
      Function returning the minimum distance among all subsequences of the given timeSeries to the shapelet's data.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • useBiasCorrection

        protected boolean useBiasCorrection
        Indicator whether Bessel's correction should be used within any distance calculation;
    • Constructor Detail

      • AMinimumDistanceSearchStrategy

        public AMinimumDistanceSearchStrategy​(boolean useBiasCorrection)
        Constructor.
        Parameters:
        useBiasCorrection - See useBiasCorrection
    • Method Detail

      • findMinimumDistance

        public abstract double findMinimumDistance​(Shapelet shapelet,
                                                   double[] timeSeries)
        Function returning the minimum distance among all subsequences of the given timeSeries to the shapelet's data.
        Parameters:
        shapelet - The shapelet to be compared to all subsequences
        timeSeries - The time series which subsequences are compared to the shapelet's data
        Returns:
        Return the minimum distance among all subsequences