Class AbstractTimeseriesSplitter

    • Constructor Detail

      • AbstractTimeseriesSplitter

        public AbstractTimeseriesSplitter()
    • Method Detail

      • getQuickInfo

        public String getQuickInfo()
        Returns a quick info about the object, which can be displayed in the GUI.

        Default implementation returns null.
        Specified by:
        getQuickInfo in interface QuickInfoSupporter
        Returns:
        null if no info available, otherwise short string
      • check

        protected void check​(Timeseries series)
        Performs checks on the timeseries that is to be split.

        Default implementation only checks whether data has been provided.
        Parameters:
        series - the timeseries to split
      • doSplit

        protected abstract Timeseries[] doSplit​(Timeseries series)
        Performs the actual split.
        Parameters:
        series - the timeseries to split
        Returns:
        the generated sub-timeseries
      • postProcess

        protected Timeseries[] postProcess​(Timeseries[] segments)
        Post-processes the segments.
        Parameters:
        segments - the segments to process
        Returns:
        the processed segments
      • split

        public Timeseries[] split​(Timeseries series)
        Splits the timeseries.
        Parameters:
        series - the timeseries to split
        Returns:
        the generated sub-timeseries