Class ExhaustiveMinimumDistanceSearchStrategy


  • public class ExhaustiveMinimumDistanceSearchStrategy
    extends AMinimumDistanceSearchStrategy
    Class implementing a search strategy used for finding the minimum distance of a Shapelet object to a time series. The approach uses an exhaustive search as described in the paper 'Jason Lines, Luke M. Davis, Jon Hills, and Anthony Bagnall. 2012. A shapelet transform for time series classification. In Proceedings of the 18th ACM SIGKDD international conference on Knowledge discovery and data mining (KDD '12). ACM, New York, NY, USA, 289-297.'.
    • Method Detail

      • findMinimumDistance

        public double findMinimumDistance​(Shapelet shapelet,
                                          double[] timeSeries)
        Function returning the minimum distance among all subsequences of the given timeSeries to the shapelet's data.
        Specified by:
        findMinimumDistance in class AMinimumDistanceSearchStrategy
        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