29 #ifndef GRT_TIME_SERIES_POSITION_TRACKER_HEADER
30 #define GRT_TIME_SERIES_POSITION_TRACKER_HEADER
32 #include "../Util/GRTCommon.h"
46 this->startIndex = startIndex;
47 this->endIndex = endIndex;
48 this->classLabel = classLabel;
57 this->startIndex = rhs.startIndex;
58 this->endIndex = rhs.endIndex;
59 this->classLabel = rhs.classLabel;
75 this->startIndex = rhs.startIndex;
76 this->endIndex = rhs.endIndex;
77 this->classLabel = rhs.classLabel;
91 void setTracker(UINT startIndex,UINT endIndex,UINT classLabel){
92 this->startIndex = startIndex;
93 this->endIndex = endIndex;
94 this->classLabel = classLabel;
140 UINT
getLength()
const {
return endIndex-startIndex+1; }
157 #endif //GRT_TIME_SERIES_POSITION_TRACKER_HEADER
TimeSeriesPositionTracker & operator=(const TimeSeriesPositionTracker &rhs)
TimeSeriesPositionTracker(const TimeSeriesPositionTracker &rhs)
UINT getStartIndex() const
void setStartIndex(UINT startIndex)
void setClassLabel(UINT classLabel)
void setTracker(UINT startIndex, UINT endIndex, UINT classLabel)
~TimeSeriesPositionTracker()
void setEndIndex(UINT endIndex)
UINT getClassLabel() const
TimeSeriesPositionTracker(UINT startIndex=0, UINT endIndex=0, UINT classLabel=0)