Qualia  0.2
Public Member Functions | Public Attributes | List of all members
MemoryDataSet Class Reference

#include <MemoryDataSet.h>

Inheritance diagram for MemoryDataSet:
Inheritance graph
[legend]
Collaboration diagram for MemoryDataSet:
Collaboration graph
[legend]

Public Member Functions

 MemoryDataSet (DataSet *dataSet)
 
virtual ~MemoryDataSet ()
 
virtual void setExample (int t)
 Sets this->example to given index t. More...
 
- Public Member Functions inherited from DataSet
 DataSet (int nExamples=0, int dim=0)
 Constructor. More...
 
virtual ~DataSet ()
 
int dim () const
 Returns the dimension of each example. More...
 
int nExamples () const
 Returns the number of examples. More...
 
virtual void init ()
 
virtual void reset ()
 To be called before every episode. More...
 

Public Attributes

realdata
 Pointer to the data. More...
 
- Public Attributes inherited from DataSet
int _nExamples
 Number of examples in the dataset. More...
 
int _dim
 Dimension of the example. More...
 
realexample
 Current example. More...
 

Detailed Description

A DataSet that is fully loaded into memory (RAM).

Constructor & Destructor Documentation

MemoryDataSet::MemoryDataSet ( DataSet dataSet)
MemoryDataSet::~MemoryDataSet ( )
virtual

Member Function Documentation

void MemoryDataSet::setExample ( int  t)
virtual

Sets this->example to given index t.

Implements DataSet.

Member Data Documentation

real* MemoryDataSet::data

Pointer to the data.


The documentation for this class was generated from the following files: