bdm::DS Class Reference

Abstract class for discrete-time sources of data. More...

#include <libBM.h>

Inheritance diagram for bdm::DS:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 DS (const RV &Drv0, const RV &Urv0)
virtual void getdata (vec &dt)
 Returns full vector of observed data=[output, input].
virtual void getdata (vec &dt, const ivec &indeces)
 Returns data records at indeces.
virtual void write (vec &ut)
 Accepts action variable and schedule it for application.
virtual void write (vec &ut, const ivec &indeces)
 Accepts action variables at specific indeces.
virtual void step ()=0
 Moves from $t$ to $t+1$, i.e. perfroms the actions and reads response of the system.
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

Abstract class for discrete-time sources of data.

The class abstracts operations of: (i) data aquisition, (ii) data-preprocessing, (iii) scaling of data, and (iv) data resampling from the task of estimation and control. Moreover, for controlled systems, it is able to receive the desired control action and perform it in the next step. (Or as soon as possible).


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

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