bdm::MemDS Class Reference

Memory storage of off-line data column-wise. More...

#include <libDS.h>

Inheritance diagram for bdm::MemDS:

Inheritance graph
[legend]
Collaboration diagram for bdm::MemDS:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void getdata (vec &dt)
 Returns full vector of observed data=[output, input].
void getdata (vec &dt, const ivec &indeces)
 Returns data records at indeces.
void linkrvs (RV &drv, RV &urv)
void write (vec &ut)
 Accepts action variable and schedule it for application.
void write (vec &ut, ivec &indexes)
void step ()
 Moves from $t$ to $t+1$, i.e. perfroms the actions and reads response of the system.
 MemDS (mat &Dat, ivec &rowid, ivec &delays)
 Default constructor.
virtual void write (vec &ut, const ivec &indeces)
 Accepts action variables at specific indeces.
virtual void log_add (logger &L)
 Register DS for logging into logger L.
virtual void logit (logger &L)
 Register DS for logging into logger L.

Protected Attributes

RV Drv
 Observed variables, returned by getdata().
RV Urv
 Action variables, accepted by write().
int L_dt
 Remember its own index in Logger L.
int L_ut


Detailed Description

Memory storage of off-line data column-wise.

The data are stored in an internal matrix Data . Each column of Data corresponds to one discrete time observation $t$. Access to this matrix is via indexes rowid and delays.

The data can be loaded from a file.


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

Generated on Fri Feb 6 19:50:12 2009 for mixpp by  doxygen 1.5.6