Interface ISeriesPoint
-
- All Known Implementing Classes:
ShapeSeriesPoint
public interface ISeriesPoint
Interface for a simple point object used in a multidimensional time series.- Author:
- Dustin Kempton, Data Mining Lab, Georgia State University
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getDimValue(int dimension)
Method to get the value of a specific dimension of this pointint
numDims()
Method gets the number of dimensions in the pointvoid
setDimValue(int dimension, double newValue)
Method to set the value of a specific dimension for this pointdouble[]
toArray()
Method returns an array of values that represent the value taken by this point on each dimension it is a member of.
-
-
-
Method Detail
-
numDims
int numDims()
Method gets the number of dimensions in the point- Returns:
- The number of dimensions for this point
-
getDimValue
double getDimValue(int dimension)
Method to get the value of a specific dimension of this point- Parameters:
dimension
- The dimension to return the value of- Returns:
- The value of the dimension that was passed in
-
setDimValue
void setDimValue(int dimension, double newValue)
Method to set the value of a specific dimension for this point- Parameters:
dimension
- The dimension to set the value ofnewValue
- The value to set the dimension of this point to
-
toArray
double[] toArray()
Method returns an array of values that represent the value taken by this point on each dimension it is a member of.- Returns:
- An array of values this point takes on each dimension
-
-