Changeset 608 for library/doc/html/classbdm_1_1ArxDS.html
- Timestamp:
- 09/12/09 11:41:43 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/doc/html/classbdm_1_1ArxDS.html
r591 r608 94 94 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a57dfa26b23cc03d53b123fa7e0474b19"></a><!-- doxytag: member="bdm::ArxDS::step" ref="a57dfa26b23cc03d53b123fa7e0474b19" args="()" --> 95 95 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#a57dfa26b23cc03d53b123fa7e0474b19">step</a> ()</td></tr> 96 <tr><td class="mdescLeft"> </td><td class="mdescRight">Moves from <img class="formulaInl" alt="$ t $" src="form_1 2.png"/> to <img class="formulaInl" alt="$ t+1 $" src="form_13.png"/>, i.e. perfroms the actions and reads response of the system. <br/></td></tr>96 <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> 97 97 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7c8b418677a48041adacac8e8e9c9849"></a><!-- doxytag: member="bdm::ArxDS::ArxDS" ref="a7c8b418677a48041adacac8e8e9c9849" args="()" --> 98 98 </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#a7c8b418677a48041adacac8e8e9c9849">ArxDS</a> ()</td></tr> … … 114 114 <tr><td class="mdescLeft"> </td><td class="mdescRight">Register <a class="el" href="classbdm_1_1DS.html" title="Abstract class for discrete-time sources of data.">DS</a> for logging into <a class="el" href="classbdm_1_1logger.html" title="Class for storing results (and semi-results) of an experiment.">logger</a> L. <br/></td></tr> 115 115 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#a9b109ee7bba9774057b107383b6ecc24">from_setting</a> (const Setting &set)</td></tr> 116 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a ed2113851294ed96abe60fc3f05aa660"></a><!-- doxytag: member="bdm::ArxDS::_drv" ref="aed2113851294ed96abe60fc3f05aa660" args="() const " -->117 virtual <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#aed2113851294ed96abe60fc3f05aa660">_drv</a> () const </td></tr>116 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a069497b610296be053d862a2493be0ce"></a><!-- doxytag: member="bdm::ArxDS::_drv" ref="a069497b610296be053d862a2493be0ce" args="() const " --> 117 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> 118 118 <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br/></td></tr> 119 119 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa6a9a375da64c82fc227bda3418a1f33"></a><!-- doxytag: member="bdm::ArxDS::_urv" ref="aa6a9a375da64c82fc227bda3418a1f33" args="() const " --> 120 120 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> 121 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="a821297dfd839d68691324f024e57252f"></a><!-- doxytag: member="bdm::ArxDS::set_drv" ref="a821297dfd839d68691324f024e57252f" args="(const RV &drv, const RV &urv)" --> 123 virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#a821297dfd839d68691324f024e57252f">set_drv</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &drv, const <a class="el" href="classbdm_1_1RV.html">RV</a> &urv)</td></tr> 124 <tr><td class="mdescLeft"> </td><td class="mdescRight">set random rvariables <br/></td></tr> 122 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac09878f86907329ac631a3df8755c558"></a><!-- doxytag: member="bdm::ArxDS::_yrv" ref="ac09878f86907329ac631a3df8755c558" 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#ac09878f86907329ac631a3df8755c558">_yrv</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="a3a92d77fd97fdb6bf1c8edb1e38c6bbc"></a><!-- doxytag: member="bdm::ArxDS::set_drv" ref="a3a92d77fd97fdb6bf1c8edb1e38c6bbc" args="(const RV &yrv, const RV &urv)" --> 126 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> 127 <tr><td class="mdescLeft"> </td><td class="mdescRight">set random variables <br/></td></tr> 125 128 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::ArxDS::to_string" ref="aaf0e6941ba5919cae1bc530e2181b109" args="()" --> 126 129 virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#aaf0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> … … 138 141 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa11a3f3fbeea1d17b66b073017964597"></a><!-- doxytag: member="bdm::ArxDS::H" ref="aa11a3f3fbeea1d17b66b073017964597" args="" --> 139 142 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#aa11a3f3fbeea1d17b66b073017964597">H</a></td></tr> 140 <tr><td class="mdescLeft"> </td><td class="mdescRight">History, ordered as <img class="formulaInl" alt="$[y_t, u_t, y_{t-1 }, u_{t-1}, \ldots]$" src="form_ 17.png"/>. <br/></td></tr>143 <tr><td class="mdescLeft"> </td><td class="mdescRight">History, ordered as <img class="formulaInl" alt="$[y_t, u_t, y_{t-1 }, u_{t-1}, \ldots]$" src="form_24.png"/>. <br/></td></tr> 141 144 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a392b87be85675cb3d55fa4953d671bb5"></a><!-- doxytag: member="bdm::ArxDS::U" ref="a392b87be85675cb3d55fa4953d671bb5" args="" --> 142 145 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#a392b87be85675cb3d55fa4953d671bb5">U</a></td></tr> … … 162 165 int </td><td class="memItemRight" valign="bottom"><b>dt_size</b></td></tr> 163 166 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af96cae44624e79638a91ec4f2c7c81a9"></a><!-- doxytag: member="bdm::ArxDS::dtsize" ref="af96cae44624e79638a91ec4f2c7c81a9" args="" --> 164 int </td><td class="memItemRight" valign="bottom"><b>dtsize</b></td></tr> 167 int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#af96cae44624e79638a91ec4f2c7c81a9">dtsize</a></td></tr> 168 <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> 165 169 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad7467046a0bd05bc992cc5e1bdedb983"></a><!-- doxytag: member="bdm::ArxDS::utsize" ref="ad7467046a0bd05bc992cc5e1bdedb983" args="" --> 166 int </td><td class="memItemRight" valign="bottom"><b>utsize</b></td></tr> 170 int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#ad7467046a0bd05bc992cc5e1bdedb983">utsize</a></td></tr> 171 <tr><td class="mdescLeft"> </td><td class="mdescRight">size of data <br/></td></tr> 172 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a22a4b29aa6e9f3bf17bcc4b28567e8bd"></a><!-- doxytag: member="bdm::ArxDS::ytsize" ref="a22a4b29aa6e9f3bf17bcc4b28567e8bd" args="" --> 173 int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#a22a4b29aa6e9f3bf17bcc4b28567e8bd">ytsize</a></td></tr> 174 <tr><td class="mdescLeft"> </td><td class="mdescRight">size of output <br/></td></tr> 167 175 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad8db125ac35f3b8eeb773fc9a4cb45ec"></a><!-- doxytag: member="bdm::ArxDS::Drv" ref="ad8db125ac35f3b8eeb773fc9a4cb45ec" args="" --> 168 176 <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> … … 171 179 <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> 172 180 <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> 181 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeb9de2a85f0d8257d79d9b68c05c4995"></a><!-- doxytag: member="bdm::ArxDS::Yrv" ref="aeb9de2a85f0d8257d79d9b68c05c4995" 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#aeb9de2a85f0d8257d79d9b68c05c4995">Yrv</a></td></tr> 183 <tr><td class="mdescLeft"> </td><td class="mdescRight">Description of output data. <br/></td></tr> 173 184 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab4b7bdb9d98a11ab587aa0ad803bb867"></a><!-- doxytag: member="bdm::ArxDS::L_dt" ref="ab4b7bdb9d98a11ab587aa0ad803bb867" args="" --> 174 185 int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#ab4b7bdb9d98a11ab587aa0ad803bb867">L_dt</a></td></tr> … … 197 208 <p><a class="el" href="classbdm_1_1UI.html" title="UI is an abstract class which collects all the auxiliary functions useful to prepare...">UI</a> for <a class="el" href="classbdm_1_1ArxDS.html" title="Generator of ARX data.">ArxDS</a> using factorized description!</p> 198 209 <p>The <a class="el" href="classbdm_1_1ArxDS.html" title="Generator of ARX data.">ArxDS</a> is constructed from a structure with fields: </p> 199 <div class="fragment"><pre class="fragment"> system = {200 type = <span class="stringliteral">"ArxDS"</span>;201 <span class="comment">// description of y variables</span>202 y = {type=<span class="stringliteral">"rv"</span>; names=[<span class="stringliteral">"y"</span>, <span class="stringliteral">"u"</span>];};203 <span class="comment">// description of u variable</span>204 u = {type=<span class="stringliteral">"rv"</span>; names=[];}205 <span class="comment">// description of regressor</span>206 <a class="code" href="classbdm_1_1ArxDS.html#ab2d7530264499b92c3aa32454b960abe" title="temporary variable for regressor">rgr</a> = {type=<span class="stringliteral">"rv"</span>;207 names = [<span class="stringliteral">"y"</span>,<span class="stringliteral">"y"</span>,<span class="stringliteral">"y"</span>,<span class="stringliteral">"u"</span>];208 times = [-1, -2, -3, -1];209 }210 211 <span class="comment">// theta</span>212 theta = [0.8, -0.3, 0.4, 1.0,213 0.0, 0.0, 0.0, 0.0];214 <span class="comment">// offset (optional)</span>215 offset = [0.0, 0.0];216 <span class="comment">//variance</span>217 r = [0.1, 0.0,218 0.0, 1.0];219 <span class="comment">//options: L_theta = log value of theta,</span>220 opt = <span class="stringliteral">"L_theta"</span>;221 };210 <div class="fragment"><pre class="fragment"> system = { 211 type = <span class="stringliteral">"ArxDS"</span>; 212 <span class="comment">// description of y variables</span> 213 y = {type=<span class="stringliteral">"rv"</span>; names=[<span class="stringliteral">"y"</span>, <span class="stringliteral">"u"</span>];}; 214 <span class="comment">// description of u variable</span> 215 u = {type=<span class="stringliteral">"rv"</span>; names=[];} 216 <span class="comment">// description of regressor</span> 217 <a class="code" href="classbdm_1_1ArxDS.html#ab2d7530264499b92c3aa32454b960abe" title="temporary variable for regressor">rgr</a> = {type=<span class="stringliteral">"rv"</span>; 218 names = [<span class="stringliteral">"y"</span>,<span class="stringliteral">"y"</span>,<span class="stringliteral">"y"</span>,<span class="stringliteral">"u"</span>]; 219 times = [-1, -2, -3, -1]; 220 } 221 222 <span class="comment">// theta</span> 223 theta = [0.8, -0.3, 0.4, 1.0, 224 0.0, 0.0, 0.0, 0.0]; 225 <span class="comment">// offset (optional)</span> 226 offset = [0.0, 0.0]; 227 <span class="comment">//variance</span> 228 r = [0.1, 0.0, 229 0.0, 1.0]; 230 <span class="comment">//options: L_theta = log value of theta,</span> 231 opt = <span class="stringliteral">"L_theta"</span>; 232 }; 222 233 </pre></div><p>Result is <a class="el" href="classbdm_1_1ARX.html" title="Linear Autoregressive model with Gaussian noise.">ARX</a> data source offering with full history as Drv. </p> 223 234 224 235 <p>Reimplemented from <a class="el" href="classbdm_1_1root.html#a0551e3121091c5199bf4413b50522176">bdm::root</a>.</p> 225 236 226 <p>References <a class="el" href="user__info_8h_source.html#l00443">bdm::UI::get()</a>, <a class="el" href="datasources_8h_source.html#l00 180">set_drv()</a>, <a class="el" href="datasources_8h_source.html#l00200">set_options()</a>, and <a class="el" href="datasources_8h_source.html#l00176">set_parameters()</a>.</p>237 <p>References <a class="el" href="user__info_8h_source.html#l00443">bdm::UI::get()</a>, <a class="el" href="datasources_8h_source.html#l00282">set_drv()</a>, <a class="el" href="datasources_8h_source.html#l00302">set_options()</a>, and <a class="el" href="datasources_8h_source.html#l00278">set_parameters()</a>.</p> 227 238 228 239 </div> … … 233 244 </ul> 234 245 </div> 235 <hr size="1"/><address style="text-align: right;"><small>Generated on Sun Aug 30 22:10:502009 for mixpp by 246 <hr size="1"/><address style="text-align: right;"><small>Generated on Tue Sep 8 22:11:33 2009 for mixpp by 236 247 <a href="http://www.doxygen.org/index.html"> 237 248 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>