Interface GenericSlidingWindow<I,​O>

  • Type Parameters:
    I - The input type inside the list for subset generation
    O - The output type that is expected for each subset
    All Known Subinterfaces:
    SlidingWindow<T>
    All Known Implementing Classes:
    SlidingWindowMedian, SubsetSlidingWindow, ZeroBufferedSlidingWindowMedian

    public interface GenericSlidingWindow<I,​O>

    GenericSlidingWindow

    Generic Sliding Window allows to create a list of subselection by the kernel size to further apply filtering and aggregating on those windows. This allows to integrate custom processing on each subset.

    Since:
    2.2.0
    Author:
    Baumgartner David 10.11.2020
    • Method Detail

      • filter

        List<O> filter​(List<I> data,
                       int kernel)

        Uses the kernel to chain values in the list, the resulting subsets must be processed manually

        Parameters:
        data - the data to subset
        kernel - the kernel, or window size
        Returns:
        a List of windows