Changeset 614 for library/doc/html/classbdm_1_1FileDS.html
- Timestamp:
- 09/13/09 23:14:58 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/doc/html/classbdm_1_1FileDS.html
r608 r614 92 92 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> 93 93 <tr><td class="mdescLeft"> </td><td class="mdescRight">no sense to log this type <br/></td></tr> 94 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a339a488b93f2fc37c80d9a9573fbd421"></a><!-- doxytag: member="bdm::FileDS::max_length" ref="a339a488b93f2fc37c80d9a9573fbd421" args="()" --> 95 int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#a339a488b93f2fc37c80d9a9573fbd421">max_length</a> ()</td></tr> 96 <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> 94 97 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae6428f2778254e8304fb5a799b7f815a"></a><!-- doxytag: member="bdm::FileDS::set_rvs" ref="ae6428f2778254e8304fb5a799b7f815a" args="(RV &drv, RV &urv)" --> 95 98 void </td><td class="memItemRight" valign="bottom"><b>set_rvs</b> (<a class="el" href="classbdm_1_1RV.html">RV</a> &drv, <a class="el" href="classbdm_1_1RV.html">RV</a> &urv)</td></tr> … … 105 108 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#a21916feb3e5ff960855c09b06a0d279b">step</a> ()</td></tr> 106 109 <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> 110 <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> 107 111 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a069497b610296be053d862a2493be0ce"></a><!-- doxytag: member="bdm::FileDS::_drv" ref="a069497b610296be053d862a2493be0ce" args="() const " --> 108 112 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> … … 120 124 virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#aaf0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> 121 125 <tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns a basic info about the current instance. <br/></td></tr> 122 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0551e3121091c5199bf4413b50522176"></a><!-- doxytag: member="bdm::FileDS::from_setting" ref="a0551e3121091c5199bf4413b50522176" args="(const Setting &set)" -->123 virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#a0551e3121091c5199bf4413b50522176">from_setting</a> (const Setting &set)</td></tr>124 <tr><td class="mdescLeft"> </td><td class="mdescRight">This method arrange instance properties according the data stored in the Setting structure. <br/></td></tr>125 126 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::FileDS::to_setting" ref="a67d954d255ede776eade7334d4895790" args="(Setting &set) const " --> 126 127 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> … … 139 140 ivec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#a865814d49913dcf672bb20a4334d3dc4">rowid</a></td></tr> 140 141 <tr><td class="mdescLeft"> </td><td class="mdescRight">vector of rows that are presented in Dt <br/></td></tr> 141 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a166522aed4d3b12d9b3c2afaf6673301"></a><!-- doxytag: member="bdm::FileDS::delays" ref="a166522aed4d3b12d9b3c2afaf6673301" args="" -->142 ivec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#a166522aed4d3b12d9b3c2afaf6673301">delays</a></td></tr>143 <tr><td class="mdescLeft"> </td><td class="mdescRight">vector of delays that are presented in Dt <br/></td></tr>144 142 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af96cae44624e79638a91ec4f2c7c81a9"></a><!-- doxytag: member="bdm::FileDS::dtsize" ref="af96cae44624e79638a91ec4f2c7c81a9" args="" --> 145 143 int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#af96cae44624e79638a91ec4f2c7c81a9">dtsize</a></td></tr> … … 168 166 <hr/><a name="_details"></a><h2>Detailed Description</h2> 169 167 <p>Pseudovirtual class for reading data from files </p> 168 <hr/><h2>Member Function Documentation</h2> 169 <a class="anchor" id="afaebfe6d7a2a43421be05d8cf7d7ae45"></a><!-- doxytag: member="bdm::FileDS::from_setting" ref="afaebfe6d7a2a43421be05d8cf7d7ae45" args="(const Setting &set)" --> 170 <div class="memitem"> 171 <div class="memproto"> 172 <table class="memname"> 173 <tr> 174 <td class="memname">void bdm::MemDS::from_setting </td> 175 <td>(</td> 176 <td class="paramtype">const Setting & </td> 177 <td class="paramname"> <em>set</em></td> 178 <td> ) </td> 179 <td><code> [inline, virtual, inherited]</code></td> 180 </tr> 181 </table> 182 </div> 183 <div class="memdoc"> 184 <p>Create object from the following structure </p> 185 <div class="fragment"><pre class="fragment"> { <span class="keyword">class </span>= "<a class="code" href="classbdm_1_1MemDS.html#a1ea231f4066652996cde4826560d93e3" title="Default constructor.">MemDS</a>"; 186 <a class="code" href="classbdm_1_1MemDS.html#aa724f4cbfc32e79bacc044253234e260" title="internal matrix of data">Data</a> = (...); <span class="comment">// Data matrix or data vector</span> 187 --- optional --- 188 drv = {<span class="keyword">class</span>=<span class="stringliteral">"RV"</span>; ...} <span class="comment">// Identification how rows of the matrix Data will be known to others</span> 189 time = 0; <span class="comment">// Index of the first column to user_info,</span> 190 <a class="code" href="classbdm_1_1MemDS.html#a865814d49913dcf672bb20a4334d3dc4" title="vector of rows that are presented in Dt">rowid</a> = [1,2,3...]; <span class="comment">// ids of rows to be used</span> 191 } 192 </pre></div><p>If the optional fields are not given, they will be filled as follows: </p> 193 <div class="fragment"><pre class="fragment"> <a class="code" href="classbdm_1_1MemDS.html#a865814d49913dcf672bb20a4334d3dc4" title="vector of rows that are presented in Dt">rowid</a>= [0, 1, 2, ...number_of_rows_of_Data]; 194 drv = {names=(<span class="stringliteral">"ch0"</span>, <span class="stringliteral">"ch1"</span>, <span class="stringliteral">"ch2"</span>, ...<span class="stringliteral">"number_of_rows_of_Data"</span>); 195 sizes=( 1 1 1 ...); 196 times=( 0 0 0 ...); 197 }; 198 time = 0; 199 </pre></div><p> If <code>rowid</code> is given, <code>drv</code> will be named after indeces in rowids.</p> 200 <p>Hence the data provided by method <code><a class="el" href="classbdm_1_1MemDS.html#a23522b9e7dd0bb0c365cc9cde4c05449" title="Returns full vector of observed data=[output, input].">getdata()</a></code> will be full column of matrix Data starting from the first record. </p> 201 202 <p>Reimplemented from <a class="el" href="classbdm_1_1root.html#a0551e3121091c5199bf4413b50522176">bdm::root</a>.</p> 203 204 <p>Reimplemented in <a class="el" href="classbdm_1_1ITppFileDS.html#afd192da176625a909fa853458b604566">bdm::ITppFileDS</a>, and <a class="el" href="classbdm_1_1mxArrayDS.html#a3f8986832001f54ef808edaf3988d025">bdm::mxArrayDS</a>.</p> 205 206 <p>References <a class="el" href="datasources_8h_source.html#l00032">bdm::MemDS::Data</a>, <a class="el" href="bdmbase_8h_source.html#l00951">bdm::DS::dtsize</a>, <a class="el" href="user__info_8h_source.html#l00443">bdm::UI::get()</a>, <a class="el" href="datasources_8h_source.html#l00036">bdm::MemDS::rowid</a>, <a class="el" href="bdmbase_8h_source.html#l01023">bdm::DS::set_drv()</a>, <a class="el" href="datasources_8h_source.html#l00034">bdm::MemDS::time</a>, and <a class="el" href="bdmbase_8h_source.html#l00953">bdm::DS::utsize</a>.</p> 207 208 </div> 209 </div> 170 210 <hr/>The documentation for this class was generated from the following file:<ul> 171 211 <li><a class="el" href="datasources_8h_source.html">datasources.h</a></li> 172 212 </ul> 173 213 </div> 174 <hr size="1"/><address style="text-align: right;"><small>Generated on Tue Sep 8 22:11:332009 for mixpp by 214 <hr size="1"/><address style="text-align: right;"><small>Generated on Sun Sep 13 22:40:42 2009 for mixpp by 175 215 <a href="http://www.doxygen.org/index.html"> 176 216 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>