Stacked Graphs
Geometry & Aesthetics
 All Classes Functions Variables Enumerations
Public Member Functions | Friends | List of all members
DataSet Struct Reference

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
 

Detailed Description

The data set.

Data entries are stored as a list of DataItem objects.

Member Function Documentation

int DataSet::getSizeX ( ) const
inline

Retuns the size of the dataset in X direction, i.e.

the length of the time series (usually number of months, 12)

DataPtrListRef DataSet::getSortedData ( )
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.

void DataSet::setUnsorted ( )
inline

Resets the internal sorted list to the unsorted state, i.e.

the same order it appears in the normal data list.


The documentation for this struct was generated from the following file: