#include <libDS.h>
Public Member Functions | |
void | getdata (vec &dt) |
Returns full vector of observed data=[output, input]. | |
void | getdata (vec &dt, const ivec &indices) |
Returns data records at indeces. | |
void | write (vec &ut) |
Accepts action variable and schedule it for application. | |
void | write (vec &ut, const ivec &indices) |
Accepts action variables at specific indeces. | |
void | step () |
Moves from to , i.e. perfroms the actions and reads response of the system. | |
ArxDS () | |
Default constructor. | |
void | set_parameters (const mat &Th0, const vec mu0, const chmat &sqR0) |
Set parameters of the internal model, H is maximum time delay. | |
void | set_drv (RV &yrv, RV &urv, RV &rrv) |
Set. | |
void | set_options (const string &s) |
set options from a string | |
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. | |
virtual RV | _drv () const |
access function | |
const RV & | _urv () const |
access function | |
Protected Attributes | |
RV | Rrv |
Rv of the regressor. | |
vec | H |
History, ordered as . | |
vec | U |
(future) input | |
vec | rgr |
temporary variable for regressor | |
datalink | rgrlnk |
data link: H -> rgr | |
mlnorm< chmat > | model |
model of Y - linear Gaussian | |
bool | opt_L_theta |
options | |
int | L_theta |
loggers | |
int | L_R |
int | dt_size |
int | dtsize |
int | utsize |
RV | Drv |
Description of data returned by getdata() . | |
RV | Urv |
Description of data witten by by write() . | |
int | L_dt |
Remember its own index in Logger L. | |
int | L_ut |