The data set. More...
#include <dataset.h>
Public Member Functions | |
DataListRef | getData () |
Returns a reference to the internal data set. | |
DataPtrListRef | getSortedData () |
Returns a list of pointers which is sorted according to the current sorting algorithm. More... | |
QVector< float > & | getCumHeight () |
Returns the cumulated height at each point of the timeseries. | |
int | getSizeX () const |
Retuns the size of the dataset in X direction, i.e. More... | |
int | getSizeY () const |
Returns the size of the dataset in Y direction, which is the number of layers this dataset has. | |
int | getMinOnsetTime () const |
Returns the minimum onsettime of the overall dataset. | |
int | getMaxOnsetTime () const |
Returns the maximum onsettime of the overall dataset. | |
float | getMinVolatility () const |
Returns the minimum volatility of the overall dataset. | |
float | getMaxVolatility () const |
Returns the maximum volatility of the overall dataset. | |
float | getMinSum () const |
Returns the minimum sum of the overall dataset. | |
float | getMaxSum () const |
Returns the minimum sum of the overall dataset. | |
QString | getPath () const |
The path to the file where the dataset was loaded from. | |
void | setUnsorted () |
Resets the internal sorted list to the unsorted state, i.e. More... | |
bool | isEmpty () const |
Returns true if the internal data set is empty, otherwise false. | |
Friends | |
class | DataLoader |
The data set.
Data entries are stored as a list of DataItem objects.
|
inline |
Retuns the size of the dataset in X direction, i.e.
the length of the time series (usually number of months, 12)
|
inline |
Returns a list of pointers which is sorted according to the current sorting algorithm.
This is only valid after the sorting algorithm was called, otherwise it may contain old or undefined data.
|
inline |
Resets the internal sorted list to the unsorted state, i.e.
the same order it appears in the normal data list.