73 | | <h1>bdm::CsvFileDS Class Reference</h1><!-- doxytag: class="bdm::CsvFileDS" --><!-- doxytag: inherits="bdm::FileDS" --> |
74 | | <p>CSV file data storage The constructor creates <code>Data</code> matrix from the records in a CSV file <code>fname</code>. The orientation can be of two types: 1. <code>BY_COL</code> which is default - the data are stored in columns; one column per time <img class="formulaInl" alt="$t$" src="form_22.png"/>, one row per data item. 2. <code>BY_ROW</code> if the data are stored the classical CSV style. Then each column stores the values for data item, for ex. <img class="formulaInl" alt="$[y_{t} y_{t-1} ...]$" src="form_23.png"/>, one row for each discrete time instant. |
75 | | <a href="#_details">More...</a></p> |
76 | | <hr/><a name="_details"></a><h2>Detailed Description</h2> |
77 | | <p>CSV file data storage The constructor creates <code>Data</code> matrix from the records in a CSV file <code>fname</code>. The orientation can be of two types: 1. <code>BY_COL</code> which is default - the data are stored in columns; one column per time <img class="formulaInl" alt="$t$" src="form_22.png"/>, one row per data item. 2. <code>BY_ROW</code> if the data are stored the classical CSV style. Then each column stores the values for data item, for ex. <img class="formulaInl" alt="$[y_{t} y_{t-1} ...]$" src="form_23.png"/>, one row for each discrete time instant. </p> |
78 | | |
79 | | <p><code>#include <<a class="el" href="datasources_8h_source.html">datasources.h</a>></code></p> |
80 | | |
81 | | <p><a href="classbdm_1_1CsvFileDS-members.html">List of all members.</a></p> |
82 | | <table border="0" cellpadding="0" cellspacing="0"> |
83 | | <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> |
84 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8d9d56cdf6b8d0236e32a80e11c238b0"></a><!-- doxytag: member="bdm::CsvFileDS::CsvFileDS" ref="a8d9d56cdf6b8d0236e32a80e11c238b0" args="(const string &fname, const string &orientation="BY_COL")" --> |
85 | | </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1CsvFileDS.html#a8d9d56cdf6b8d0236e32a80e11c238b0">CsvFileDS</a> (const string &fname, const string &orientation="BY_COL")</td></tr> |
86 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor - create <a class="el" href="classbdm_1_1DS.html" title="Abstract class for discrete-time sources of data.">DS</a> from a CSV file. <br/></td></tr> |
87 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0bf36650e9d1af2d0743ffe8a3fcff14"></a><!-- doxytag: member="bdm::CsvFileDS::getdata" ref="a0bf36650e9d1af2d0743ffe8a3fcff14" args="(vec &dt)" --> |
88 | | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1FileDS.html#a0bf36650e9d1af2d0743ffe8a3fcff14">getdata</a> (vec &dt)</td></tr> |
89 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns full vector of observed data=[output, input]. <br/></td></tr> |
90 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3c546e8d9eb71e079e046e3d2f69c6c4"></a><!-- doxytag: member="bdm::CsvFileDS::getdata" ref="a3c546e8d9eb71e079e046e3d2f69c6c4" args="(vec &dt, const ivec &indices)" --> |
91 | | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1FileDS.html#a3c546e8d9eb71e079e046e3d2f69c6c4">getdata</a> (vec &dt, const ivec &indices)</td></tr> |
92 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns data records at indeces. <br/></td></tr> |
93 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa6af63065097147b390e684a7842a26a"></a><!-- doxytag: member="bdm::CsvFileDS::ndat" ref="aa6af63065097147b390e684a7842a26a" args="()" --> |
94 | | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1FileDS.html#aa6af63065097147b390e684a7842a26a">ndat</a> ()</td></tr> |
95 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">returns number of data in the file; <br/></td></tr> |
96 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a998f590eeddee97ae6918671e40756b8"></a><!-- doxytag: member="bdm::CsvFileDS::log_add" ref="a998f590eeddee97ae6918671e40756b8" args="(logger &L)" --> |
97 | | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1FileDS.html#a998f590eeddee97ae6918671e40756b8">log_add</a> (<a class="el" href="classbdm_1_1logger.html">logger</a> &L)</td></tr> |
98 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">no sense to log this type <br/></td></tr> |
99 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a59d44ef34a523127dd79c076461c43b6"></a><!-- doxytag: member="bdm::CsvFileDS::logit" ref="a59d44ef34a523127dd79c076461c43b6" args="(logger &L)" --> |
100 | | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1FileDS.html#a59d44ef34a523127dd79c076461c43b6">logit</a> (<a class="el" href="classbdm_1_1logger.html">logger</a> &L)</td></tr> |
101 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">no sense to log this type <br/></td></tr> |
102 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a339a488b93f2fc37c80d9a9573fbd421"></a><!-- doxytag: member="bdm::CsvFileDS::max_length" ref="a339a488b93f2fc37c80d9a9573fbd421" args="()" --> |
103 | | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#a339a488b93f2fc37c80d9a9573fbd421">max_length</a> ()</td></tr> |
104 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns maximum number of provided data, by default it is set to maximum allowed length, shorter <a class="el" href="classbdm_1_1DS.html" title="Abstract class for discrete-time sources of data.">DS</a> should overload this method! See, <a class="el" href="classbdm_1_1MemDS.html#a339a488b93f2fc37c80d9a9573fbd421" title="Returns maximum number of provided data, by default it is set to maximum allowed...">MemDS.max_length()</a>. <br/></td></tr> |
105 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae6428f2778254e8304fb5a799b7f815a"></a><!-- doxytag: member="bdm::CsvFileDS::set_rvs" ref="ae6428f2778254e8304fb5a799b7f815a" args="(RV &drv, RV &urv)" --> |
| 70 | <h1>bdm::CsvFileDS Class Reference</h1><!-- doxytag: class="bdm::CsvFileDS" --><!-- doxytag: inherits="bdm::FileDS" -->CSV file data storage The constructor creates <code>Data</code> matrix from the records in a CSV file <code>fname</code>. The orientation can be of two types: 1. <code>BY_COL</code> which is default - the data are stored in columns; one column per time <img class="formulaInl" alt="$t$" src="form_22.png">, one row per data item. 2. <code>BY_ROW</code> if the data are stored the classical CSV style. Then each column stores the values for data item, for ex. <img class="formulaInl" alt="$[y_{t} y_{t-1} ...]$" src="form_23.png">, one row for each discrete time instant. |
| 71 | <a href="#_details">More...</a> |
| 72 | <p> |
| 73 | <code>#include <<a class="el" href="datasources_8h_source.html">datasources.h</a>></code> |
| 74 | <p> |
| 75 | |
| 76 | <p> |
| 77 | <a href="classbdm_1_1CsvFileDS-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
| 78 | <tr><td></td></tr> |
| 79 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
| 80 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8d9d56cdf6b8d0236e32a80e11c238b0"></a><!-- doxytag: member="bdm::CsvFileDS::CsvFileDS" ref="8d9d56cdf6b8d0236e32a80e11c238b0" args="(const string &fname, const string &orientation="BY_COL")" --> |
| 81 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1CsvFileDS.html#8d9d56cdf6b8d0236e32a80e11c238b0">CsvFileDS</a> (const string &fname, const string &orientation="BY_COL")</td></tr> |
| 82 | |
| 83 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor - create <a class="el" href="classbdm_1_1DS.html" title="Abstract class for discrete-time sources of data.">DS</a> from a CSV file. <br></td></tr> |
| 84 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0bf36650e9d1af2d0743ffe8a3fcff14"></a><!-- doxytag: member="bdm::CsvFileDS::getdata" ref="0bf36650e9d1af2d0743ffe8a3fcff14" args="(vec &dt)" --> |
| 85 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1FileDS.html#0bf36650e9d1af2d0743ffe8a3fcff14">getdata</a> (vec &dt)</td></tr> |
| 86 | |
| 87 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns full vector of observed data=[output, input]. <br></td></tr> |
| 88 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3c546e8d9eb71e079e046e3d2f69c6c4"></a><!-- doxytag: member="bdm::CsvFileDS::getdata" ref="3c546e8d9eb71e079e046e3d2f69c6c4" args="(vec &dt, const ivec &indices)" --> |
| 89 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1FileDS.html#3c546e8d9eb71e079e046e3d2f69c6c4">getdata</a> (vec &dt, const ivec &indices)</td></tr> |
| 90 | |
| 91 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns data records at indeces. <br></td></tr> |
| 92 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a6af63065097147b390e684a7842a26a"></a><!-- doxytag: member="bdm::CsvFileDS::ndat" ref="a6af63065097147b390e684a7842a26a" args="()" --> |
| 93 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1FileDS.html#a6af63065097147b390e684a7842a26a">ndat</a> ()</td></tr> |
| 94 | |
| 95 | <tr><td class="mdescLeft"> </td><td class="mdescRight">returns number of data in the file; <br></td></tr> |
| 96 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="998f590eeddee97ae6918671e40756b8"></a><!-- doxytag: member="bdm::CsvFileDS::log_add" ref="998f590eeddee97ae6918671e40756b8" args="(logger &L)" --> |
| 97 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1FileDS.html#998f590eeddee97ae6918671e40756b8">log_add</a> (<a class="el" href="classbdm_1_1logger.html">logger</a> &L)</td></tr> |
| 98 | |
| 99 | <tr><td class="mdescLeft"> </td><td class="mdescRight">no sense to log this type <br></td></tr> |
| 100 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="59d44ef34a523127dd79c076461c43b6"></a><!-- doxytag: member="bdm::CsvFileDS::logit" ref="59d44ef34a523127dd79c076461c43b6" args="(logger &L)" --> |
| 101 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1FileDS.html#59d44ef34a523127dd79c076461c43b6">logit</a> (<a class="el" href="classbdm_1_1logger.html">logger</a> &L)</td></tr> |
| 102 | |
| 103 | <tr><td class="mdescLeft"> </td><td class="mdescRight">no sense to log this type <br></td></tr> |
| 104 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="339a488b93f2fc37c80d9a9573fbd421"></a><!-- doxytag: member="bdm::CsvFileDS::max_length" ref="339a488b93f2fc37c80d9a9573fbd421" args="()" --> |
| 105 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#339a488b93f2fc37c80d9a9573fbd421">max_length</a> ()</td></tr> |
| 106 | |
| 107 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns maximum number of provided data, by default it is set to maximum allowed length, shorter <a class="el" href="classbdm_1_1DS.html" title="Abstract class for discrete-time sources of data.">DS</a> should overload this method! See, <a class="el" href="classbdm_1_1MemDS.html#339a488b93f2fc37c80d9a9573fbd421" title="Returns maximum number of provided data, by default it is set to maximum allowed...">MemDS.max_length()</a>. <br></td></tr> |
| 108 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e6428f2778254e8304fb5a799b7f815a"></a><!-- doxytag: member="bdm::CsvFileDS::set_rvs" ref="e6428f2778254e8304fb5a799b7f815a" args="(RV &drv, RV &urv)" --> |
112 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6bced13f84f6bf04449728817e049e1d"></a><!-- doxytag: member="bdm::CsvFileDS::write" ref="a6bced13f84f6bf04449728817e049e1d" args="(vec &ut, const ivec &indeces)" --> |
113 | | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#a6bced13f84f6bf04449728817e049e1d">write</a> (vec &ut, const ivec &indeces)</td></tr> |
114 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Accepts action variables at specific indeces. <br/></td></tr> |
115 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a21916feb3e5ff960855c09b06a0d279b"></a><!-- doxytag: member="bdm::CsvFileDS::step" ref="a21916feb3e5ff960855c09b06a0d279b" args="()" --> |
116 | | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#a21916feb3e5ff960855c09b06a0d279b">step</a> ()</td></tr> |
117 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Moves from <img class="formulaInl" alt="$ t $" src="form_18.png"/> to <img class="formulaInl" alt="$ t+1 $" src="form_19.png"/>, i.e. perfroms the actions and reads response of the system. <br/></td></tr> |
118 | | <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#afaebfe6d7a2a43421be05d8cf7d7ae45">from_setting</a> (const Setting &set)</td></tr> |
119 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a069497b610296be053d862a2493be0ce"></a><!-- doxytag: member="bdm::CsvFileDS::_drv" ref="a069497b610296be053d862a2493be0ce" args="() const " --> |
120 | | virtual const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#a069497b610296be053d862a2493be0ce">_drv</a> () const </td></tr> |
121 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br/></td></tr> |
122 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa6a9a375da64c82fc227bda3418a1f33"></a><!-- doxytag: member="bdm::CsvFileDS::_urv" ref="aa6a9a375da64c82fc227bda3418a1f33" args="() const " --> |
123 | | const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#aa6a9a375da64c82fc227bda3418a1f33">_urv</a> () const </td></tr> |
124 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br/></td></tr> |
125 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac09878f86907329ac631a3df8755c558"></a><!-- doxytag: member="bdm::CsvFileDS::_yrv" ref="ac09878f86907329ac631a3df8755c558" args="() const " --> |
126 | | const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#ac09878f86907329ac631a3df8755c558">_yrv</a> () const </td></tr> |
127 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br/></td></tr> |
128 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3a92d77fd97fdb6bf1c8edb1e38c6bbc"></a><!-- doxytag: member="bdm::CsvFileDS::set_drv" ref="a3a92d77fd97fdb6bf1c8edb1e38c6bbc" args="(const RV &yrv, const RV &urv)" --> |
129 | | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#a3a92d77fd97fdb6bf1c8edb1e38c6bbc">set_drv</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &yrv, const <a class="el" href="classbdm_1_1RV.html">RV</a> &urv)</td></tr> |
130 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">set random variables <br/></td></tr> |
131 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::CsvFileDS::to_string" ref="aaf0e6941ba5919cae1bc530e2181b109" args="()" --> |
132 | | virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#aaf0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> |
133 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns a basic info about the current instance. <br/></td></tr> |
134 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::CsvFileDS::to_setting" ref="a67d954d255ede776eade7334d4895790" args="(Setting &set) const " --> |
135 | | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#a67d954d255ede776eade7334d4895790">to_setting</a> (Setting &set) const </td></tr> |
136 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br/></td></tr> |
137 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1c314bd6d6dacb8ba78ea5eb88fd9516"></a><!-- doxytag: member="bdm::CsvFileDS::validate" ref="a1c314bd6d6dacb8ba78ea5eb88fd9516" args="()" --> |
138 | | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#a1c314bd6d6dacb8ba78ea5eb88fd9516">validate</a> ()</td></tr> |
139 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method TODO. <br/></td></tr> |
140 | | <tr><td colspan="2"><h2>Protected Attributes</h2></td></tr> |
141 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa724f4cbfc32e79bacc044253234e260"></a><!-- doxytag: member="bdm::CsvFileDS::Data" ref="aa724f4cbfc32e79bacc044253234e260" args="" --> |
142 | | mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#aa724f4cbfc32e79bacc044253234e260">Data</a></td></tr> |
143 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">internal matrix of data <br/></td></tr> |
144 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a681ee3831f68f4f20ed54e04e8b3f107"></a><!-- doxytag: member="bdm::CsvFileDS::time" ref="a681ee3831f68f4f20ed54e04e8b3f107" args="" --> |
145 | | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#a681ee3831f68f4f20ed54e04e8b3f107">time</a></td></tr> |
146 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">active column in the Data matrix <br/></td></tr> |
147 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a865814d49913dcf672bb20a4334d3dc4"></a><!-- doxytag: member="bdm::CsvFileDS::rowid" ref="a865814d49913dcf672bb20a4334d3dc4" args="" --> |
148 | | ivec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#a865814d49913dcf672bb20a4334d3dc4">rowid</a></td></tr> |
149 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">vector of rows that are presented in Dt <br/></td></tr> |
150 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af96cae44624e79638a91ec4f2c7c81a9"></a><!-- doxytag: member="bdm::CsvFileDS::dtsize" ref="af96cae44624e79638a91ec4f2c7c81a9" args="" --> |
151 | | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#af96cae44624e79638a91ec4f2c7c81a9">dtsize</a></td></tr> |
152 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">size of data returned by <code><a class="el" href="classbdm_1_1DS.html#ac1ec862dec7164fee3284c6f9a51b0ba" title="Returns full vector of observed data=[output, input].">getdata()</a></code> <br/></td></tr> |
153 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad7467046a0bd05bc992cc5e1bdedb983"></a><!-- doxytag: member="bdm::CsvFileDS::utsize" ref="ad7467046a0bd05bc992cc5e1bdedb983" args="" --> |
154 | | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#ad7467046a0bd05bc992cc5e1bdedb983">utsize</a></td></tr> |
155 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">size of data <br/></td></tr> |
156 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a22a4b29aa6e9f3bf17bcc4b28567e8bd"></a><!-- doxytag: member="bdm::CsvFileDS::ytsize" ref="a22a4b29aa6e9f3bf17bcc4b28567e8bd" args="" --> |
157 | | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#a22a4b29aa6e9f3bf17bcc4b28567e8bd">ytsize</a></td></tr> |
158 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">size of output <br/></td></tr> |
159 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad8db125ac35f3b8eeb773fc9a4cb45ec"></a><!-- doxytag: member="bdm::CsvFileDS::Drv" ref="ad8db125ac35f3b8eeb773fc9a4cb45ec" args="" --> |
160 | | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#ad8db125ac35f3b8eeb773fc9a4cb45ec">Drv</a></td></tr> |
161 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Description of data returned by <code><a class="el" href="classbdm_1_1DS.html#ac1ec862dec7164fee3284c6f9a51b0ba" title="Returns full vector of observed data=[output, input].">getdata()</a></code>. <br/></td></tr> |
162 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9ac5970128fd39f4f6226723cd1de702"></a><!-- doxytag: member="bdm::CsvFileDS::Urv" ref="a9ac5970128fd39f4f6226723cd1de702" args="" --> |
163 | | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#a9ac5970128fd39f4f6226723cd1de702">Urv</a></td></tr> |
164 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Description of data witten by by <code><a class="el" href="classbdm_1_1DS.html#af5baeee8528e5e4c5c7a344b2e3f192a" title="Accepts action variable and schedule it for application.">write()</a></code>. <br/></td></tr> |
165 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeb9de2a85f0d8257d79d9b68c05c4995"></a><!-- doxytag: member="bdm::CsvFileDS::Yrv" ref="aeb9de2a85f0d8257d79d9b68c05c4995" args="" --> |
166 | | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#aeb9de2a85f0d8257d79d9b68c05c4995">Yrv</a></td></tr> |
167 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Description of output data. <br/></td></tr> |
168 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab4b7bdb9d98a11ab587aa0ad803bb867"></a><!-- doxytag: member="bdm::CsvFileDS::L_dt" ref="ab4b7bdb9d98a11ab587aa0ad803bb867" args="" --> |
169 | | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#ab4b7bdb9d98a11ab587aa0ad803bb867">L_dt</a></td></tr> |
170 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Remember its own index in Logger L. <br/></td></tr> |
171 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab56b74ec21485846ccfad461f33b0e7a"></a><!-- doxytag: member="bdm::CsvFileDS::L_ut" ref="ab56b74ec21485846ccfad461f33b0e7a" args="" --> |
| 117 | |
| 118 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6bced13f84f6bf04449728817e049e1d"></a><!-- doxytag: member="bdm::CsvFileDS::write" ref="6bced13f84f6bf04449728817e049e1d" args="(vec &ut, const ivec &indeces)" --> |
| 119 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#6bced13f84f6bf04449728817e049e1d">write</a> (vec &ut, const ivec &indeces)</td></tr> |
| 120 | |
| 121 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Accepts action variables at specific indeces. <br></td></tr> |
| 122 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="21916feb3e5ff960855c09b06a0d279b"></a><!-- doxytag: member="bdm::CsvFileDS::step" ref="21916feb3e5ff960855c09b06a0d279b" args="()" --> |
| 123 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#21916feb3e5ff960855c09b06a0d279b">step</a> ()</td></tr> |
| 124 | |
| 125 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Moves from <img class="formulaInl" alt="$ t $" src="form_18.png"> to <img class="formulaInl" alt="$ t+1 $" src="form_19.png">, i.e. perfroms the actions and reads response of the system. <br></td></tr> |
| 126 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#faebfe6d7a2a43421be05d8cf7d7ae45">from_setting</a> (const Setting &set)</td></tr> |
| 127 | |
| 128 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="069497b610296be053d862a2493be0ce"></a><!-- doxytag: member="bdm::CsvFileDS::_drv" ref="069497b610296be053d862a2493be0ce" args="() const " --> |
| 129 | virtual const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#069497b610296be053d862a2493be0ce">_drv</a> () const </td></tr> |
| 130 | |
| 131 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
| 132 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a6a9a375da64c82fc227bda3418a1f33"></a><!-- doxytag: member="bdm::CsvFileDS::_urv" ref="a6a9a375da64c82fc227bda3418a1f33" args="() const " --> |
| 133 | const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#a6a9a375da64c82fc227bda3418a1f33">_urv</a> () const </td></tr> |
| 134 | |
| 135 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
| 136 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c09878f86907329ac631a3df8755c558"></a><!-- doxytag: member="bdm::CsvFileDS::_yrv" ref="c09878f86907329ac631a3df8755c558" args="() const " --> |
| 137 | const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#c09878f86907329ac631a3df8755c558">_yrv</a> () const </td></tr> |
| 138 | |
| 139 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
| 140 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3a92d77fd97fdb6bf1c8edb1e38c6bbc"></a><!-- doxytag: member="bdm::CsvFileDS::set_drv" ref="3a92d77fd97fdb6bf1c8edb1e38c6bbc" args="(const RV &yrv, const RV &urv)" --> |
| 141 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#3a92d77fd97fdb6bf1c8edb1e38c6bbc">set_drv</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &yrv, const <a class="el" href="classbdm_1_1RV.html">RV</a> &urv)</td></tr> |
| 142 | |
| 143 | <tr><td class="mdescLeft"> </td><td class="mdescRight">set random variables <br></td></tr> |
| 144 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::CsvFileDS::to_string" ref="af0e6941ba5919cae1bc530e2181b109" args="()" --> |
| 145 | virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#af0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> |
| 146 | |
| 147 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns a basic info about the current instance. <br></td></tr> |
| 148 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::CsvFileDS::to_setting" ref="67d954d255ede776eade7334d4895790" args="(Setting &set) const " --> |
| 149 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#67d954d255ede776eade7334d4895790">to_setting</a> (Setting &set) const </td></tr> |
| 150 | |
| 151 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br></td></tr> |
| 152 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1c314bd6d6dacb8ba78ea5eb88fd9516"></a><!-- doxytag: member="bdm::CsvFileDS::validate" ref="1c314bd6d6dacb8ba78ea5eb88fd9516" args="()" --> |
| 153 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#1c314bd6d6dacb8ba78ea5eb88fd9516">validate</a> ()</td></tr> |
| 154 | |
| 155 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method TODO. <br></td></tr> |
| 156 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
| 157 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a724f4cbfc32e79bacc044253234e260"></a><!-- doxytag: member="bdm::CsvFileDS::Data" ref="a724f4cbfc32e79bacc044253234e260" args="" --> |
| 158 | mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#a724f4cbfc32e79bacc044253234e260">Data</a></td></tr> |
| 159 | |
| 160 | <tr><td class="mdescLeft"> </td><td class="mdescRight">internal matrix of data <br></td></tr> |
| 161 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="681ee3831f68f4f20ed54e04e8b3f107"></a><!-- doxytag: member="bdm::CsvFileDS::time" ref="681ee3831f68f4f20ed54e04e8b3f107" args="" --> |
| 162 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#681ee3831f68f4f20ed54e04e8b3f107">time</a></td></tr> |
| 163 | |
| 164 | <tr><td class="mdescLeft"> </td><td class="mdescRight">active column in the Data matrix <br></td></tr> |
| 165 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="865814d49913dcf672bb20a4334d3dc4"></a><!-- doxytag: member="bdm::CsvFileDS::rowid" ref="865814d49913dcf672bb20a4334d3dc4" args="" --> |
| 166 | ivec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#865814d49913dcf672bb20a4334d3dc4">rowid</a></td></tr> |
| 167 | |
| 168 | <tr><td class="mdescLeft"> </td><td class="mdescRight">vector of rows that are presented in Dt <br></td></tr> |
| 169 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f96cae44624e79638a91ec4f2c7c81a9"></a><!-- doxytag: member="bdm::CsvFileDS::dtsize" ref="f96cae44624e79638a91ec4f2c7c81a9" args="" --> |
| 170 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#f96cae44624e79638a91ec4f2c7c81a9">dtsize</a></td></tr> |
| 171 | |
| 172 | <tr><td class="mdescLeft"> </td><td class="mdescRight">size of data returned by <code><a class="el" href="classbdm_1_1DS.html#c1ec862dec7164fee3284c6f9a51b0ba" title="Returns full vector of observed data=[output, input].">getdata()</a></code> <br></td></tr> |
| 173 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d7467046a0bd05bc992cc5e1bdedb983"></a><!-- doxytag: member="bdm::CsvFileDS::utsize" ref="d7467046a0bd05bc992cc5e1bdedb983" args="" --> |
| 174 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#d7467046a0bd05bc992cc5e1bdedb983">utsize</a></td></tr> |
| 175 | |
| 176 | <tr><td class="mdescLeft"> </td><td class="mdescRight">size of data <br></td></tr> |
| 177 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="22a4b29aa6e9f3bf17bcc4b28567e8bd"></a><!-- doxytag: member="bdm::CsvFileDS::ytsize" ref="22a4b29aa6e9f3bf17bcc4b28567e8bd" args="" --> |
| 178 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#22a4b29aa6e9f3bf17bcc4b28567e8bd">ytsize</a></td></tr> |
| 179 | |
| 180 | <tr><td class="mdescLeft"> </td><td class="mdescRight">size of output <br></td></tr> |
| 181 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d8db125ac35f3b8eeb773fc9a4cb45ec"></a><!-- doxytag: member="bdm::CsvFileDS::Drv" ref="d8db125ac35f3b8eeb773fc9a4cb45ec" args="" --> |
| 182 | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#d8db125ac35f3b8eeb773fc9a4cb45ec">Drv</a></td></tr> |
| 183 | |
| 184 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Description of data returned by <code><a class="el" href="classbdm_1_1DS.html#c1ec862dec7164fee3284c6f9a51b0ba" title="Returns full vector of observed data=[output, input].">getdata()</a></code>. <br></td></tr> |
| 185 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9ac5970128fd39f4f6226723cd1de702"></a><!-- doxytag: member="bdm::CsvFileDS::Urv" ref="9ac5970128fd39f4f6226723cd1de702" args="" --> |
| 186 | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#9ac5970128fd39f4f6226723cd1de702">Urv</a></td></tr> |
| 187 | |
| 188 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Description of data witten by by <code><a class="el" href="classbdm_1_1DS.html#f5baeee8528e5e4c5c7a344b2e3f192a" title="Accepts action variable and schedule it for application.">write()</a></code>. <br></td></tr> |
| 189 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eb9de2a85f0d8257d79d9b68c05c4995"></a><!-- doxytag: member="bdm::CsvFileDS::Yrv" ref="eb9de2a85f0d8257d79d9b68c05c4995" args="" --> |
| 190 | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#eb9de2a85f0d8257d79d9b68c05c4995">Yrv</a></td></tr> |
| 191 | |
| 192 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Description of output data. <br></td></tr> |
| 193 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b4b7bdb9d98a11ab587aa0ad803bb867"></a><!-- doxytag: member="bdm::CsvFileDS::L_dt" ref="b4b7bdb9d98a11ab587aa0ad803bb867" args="" --> |
| 194 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#b4b7bdb9d98a11ab587aa0ad803bb867">L_dt</a></td></tr> |
| 195 | |
| 196 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Remember its own index in Logger L. <br></td></tr> |
| 197 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b56b74ec21485846ccfad461f33b0e7a"></a><!-- doxytag: member="bdm::CsvFileDS::L_ut" ref="b56b74ec21485846ccfad461f33b0e7a" args="" --> |