Interface IShapeSeries

  • All Known Subinterfaces:
    IAggregateShapeSeries
    All Known Implementing Classes:
    AggregateShapeSeries, ShapeSeries

    public interface IShapeSeries
    Interface for a multidimensional time series object.
    Author:
    Dustin Kempton, Data Mining Lab, Georgia State University
    • Method Detail

      • size

        int size()
        Method to get the number of points in the time series
        Returns:
        Number of points in the series
      • numOfDimensions

        int numOfDimensions()
        Method to get the number of dimensions the points in this series have
        Returns:
        The number of dimensions for points in this series
      • getTimeAtNthPoint

        double getTimeAtNthPoint​(int n)
        Method to get the time component for the Nth point in the series
        Parameters:
        n - The position in the series to get the time component of
        Returns:
        The time component value at position n
      • getMeasurementVectorAtNthPoint

        double[] getMeasurementVectorAtNthPoint​(int n)
        Method to get the point value vector for the Nth point in the series
        Parameters:
        n - The position in the series to get the point value vector of
        Returns:
        The point value vector at position n
      • addFirst

        void addFirst​(double time,
                      ISeriesPoint values)
        Adds a new point at the beginning of the time series. The time component must be before the time component of the first item in this series. The values component must also have the correct number of dimensions for this series.
        Parameters:
        time - The time component of the point to insert into the series
        values - The point to insert into the series
      • addLast

        void addLast​(double time,
                     ISeriesPoint values)
        Adds a new point at the end of the time series. The time component must be after the time component of the last item in this series. The values component must also have the correct number of dimensions for this series.
        Parameters:
        time -
        values -