| Public Member Functions | |
| void | getdata (vec &dt0) | 
| Returns full vector of observed data=[output, input]. | |
| void | getdata (vec &dt0, const ivec &indices) | 
| Returns data records at indeces. | |
| stateDS (const shared_ptr< mpdf > &IM0, const shared_ptr< mpdf > &OM0, int usize) | |
| virtual void | step () | 
| Moves from  to  , 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. | |
| void | from_setting (const Setting &set) | 
| virtual int | max_length () | 
| Returns maximum number of provided data, by default it is set to maximum allowed length, shorter DS should overload this method! See, MemDS.max_length(). | |
| 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 const RV & | _drv () const | 
| access function | |
| const RV & | _urv () const | 
| access function | |
| const RV & | _yrv () const | 
| access function | |
| virtual void | set_drv (const RV &yrv, const RV &urv) | 
| set random variables | |
| virtual string | to_string () | 
| This method returns a basic info about the current instance. | |
| virtual void | to_setting (Setting &set) const | 
| This method save all the instance properties into the Setting structure. | |
| virtual void | validate () | 
| This method TODO. | |
| Protected Attributes | |
| vec | dt | 
| result storage | |
| vec | xt | 
| state storage | |
| vec | ut | 
| input storage | |
| int | L_xt | 
| Logger. | |
| int | dtsize | 
| size of data returned by getdata() | |
| int | utsize | 
| size of data | |
| int | ytsize | 
| size of output | |
| RV | Drv | 
| Description of data returned by getdata(). | |
| RV | Urv | 
| Description of data witten by by write(). | |
| RV | Yrv | 
| Description of output data. | |
| int | L_dt | 
| Remember its own index in Logger L. | |
| int | L_ut | 
| void stateDS::from_setting | ( | const Setting & | set | ) |  [virtual] | 
The DS is constructed from a structure with fields:
                system = {
                        type = "stateDS";
                        //Internal model
                        IM = { type = "mpdf"; //<-- valid offspring! e.g. "mlnorm"
                                rv = { //description of x_t
                                        names=["name1",...];
                                        sizes=[2,1]; // optional default=[1,1...];
                                        times=[0,0]; // optional default=[0,0...];
                                        }
                                rvu= { //description of  u_t
                                        //optional default=empty
                                        }
                                // remaining fields depending on the chosen type
                                };
                        //Observation model
                        OM = { type = "mpdf-offspring";
                                rv = {}; //description of d_t
                                rvu = {type="internal", path="system.IM.rvu"}; //description of u_t
                                //remaining fields
                        }
                };
Reimplemented from bdm::root.
 1.6.1
 1.6.1