[591] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
| 2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
---|
| 3 | <head> |
---|
| 4 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
---|
[261] | 5 | <title>mixpp: bdm::ArxDS Class Reference</title> |
---|
[591] | 6 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
---|
| 7 | <link href="doxygen.css" rel="stylesheet" type="text/css"/> |
---|
| 8 | </head> |
---|
| 9 | <body> |
---|
| 10 | <!-- Generated by Doxygen 1.6.1 --> |
---|
[271] | 11 | <script type="text/javascript"> |
---|
| 12 | <!-- |
---|
| 13 | function changeDisplayState (e){ |
---|
| 14 | var num=this.id.replace(/[^[0-9]/g,''); |
---|
| 15 | var button=this.firstChild; |
---|
| 16 | var sectionDiv=document.getElementById('dynsection'+num); |
---|
| 17 | if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){ |
---|
| 18 | sectionDiv.style.display='block'; |
---|
| 19 | button.src='open.gif'; |
---|
| 20 | }else{ |
---|
| 21 | sectionDiv.style.display='none'; |
---|
| 22 | button.src='closed.gif'; |
---|
| 23 | } |
---|
| 24 | } |
---|
| 25 | function initDynSections(){ |
---|
| 26 | var divs=document.getElementsByTagName('div'); |
---|
| 27 | var sectionCounter=1; |
---|
| 28 | for(var i=0;i<divs.length-1;i++){ |
---|
| 29 | if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){ |
---|
| 30 | var header=divs[i]; |
---|
| 31 | var section=divs[i+1]; |
---|
| 32 | var button=header.firstChild; |
---|
| 33 | if (button!='IMG'){ |
---|
| 34 | divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild); |
---|
| 35 | button=document.createElement('img'); |
---|
| 36 | divs[i].insertBefore(button,divs[i].firstChild); |
---|
| 37 | } |
---|
| 38 | header.style.cursor='pointer'; |
---|
| 39 | header.onclick=changeDisplayState; |
---|
| 40 | header.id='dynheader'+sectionCounter; |
---|
| 41 | button.src='closed.gif'; |
---|
| 42 | section.id='dynsection'+sectionCounter; |
---|
| 43 | section.style.display='none'; |
---|
| 44 | section.style.marginLeft='14px'; |
---|
| 45 | sectionCounter++; |
---|
| 46 | } |
---|
| 47 | } |
---|
| 48 | } |
---|
| 49 | window.onload = initDynSections; |
---|
| 50 | --> |
---|
| 51 | </script> |
---|
[261] | 52 | <div class="navigation" id="top"> |
---|
| 53 | <div class="tabs"> |
---|
| 54 | <ul> |
---|
[271] | 55 | <li><a href="main.html"><span>Main Page</span></a></li> |
---|
[261] | 56 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
[290] | 57 | <li class="current"><a href="annotated.html"><span>Classes</span></a></li> |
---|
[261] | 58 | <li><a href="files.html"><span>Files</span></a></li> |
---|
| 59 | </ul> |
---|
| 60 | </div> |
---|
| 61 | <div class="tabs"> |
---|
| 62 | <ul> |
---|
| 63 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
[290] | 64 | <li><a href="classes.html"><span>Class Index</span></a></li> |
---|
[261] | 65 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
| 66 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
| 67 | </ul> |
---|
| 68 | </div> |
---|
[271] | 69 | <div class="navpath"><b>bdm</b>::<a class="el" href="classbdm_1_1ArxDS.html">ArxDS</a> |
---|
[261] | 70 | </div> |
---|
| 71 | </div> |
---|
| 72 | <div class="contents"> |
---|
[591] | 73 | <h1>bdm::ArxDS Class Reference</h1><!-- doxytag: class="bdm::ArxDS" --><!-- doxytag: inherits="bdm::DS" --> |
---|
| 74 | <p>Generator of <a class="el" href="classbdm_1_1ARX.html" title="Linear Autoregressive model with Gaussian noise.">ARX</a> data. |
---|
| 75 | <a href="#_details">More...</a></p> |
---|
[261] | 76 | |
---|
[591] | 77 | <p><code>#include <<a class="el" href="datasources_8h_source.html">datasources.h</a>></code></p> |
---|
[261] | 78 | |
---|
[591] | 79 | <p><a href="classbdm_1_1ArxDS-members.html">List of all members.</a></p> |
---|
| 80 | <table border="0" cellpadding="0" cellspacing="0"> |
---|
| 81 | <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> |
---|
| 82 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adb242e35812c311c8415bb7e31c3f595"></a><!-- doxytag: member="bdm::ArxDS::getdata" ref="adb242e35812c311c8415bb7e31c3f595" args="(vec &dt)" --> |
---|
| 83 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#adb242e35812c311c8415bb7e31c3f595">getdata</a> (vec &dt)</td></tr> |
---|
| 84 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns full vector of observed data=[output, input]. <br/></td></tr> |
---|
| 85 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a701151418bc5fc3861acef8359fb0d80"></a><!-- doxytag: member="bdm::ArxDS::getdata" ref="a701151418bc5fc3861acef8359fb0d80" args="(vec &dt, const ivec &indices)" --> |
---|
| 86 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#a701151418bc5fc3861acef8359fb0d80">getdata</a> (vec &dt, const ivec &indices)</td></tr> |
---|
| 87 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns data records at indeces. <br/></td></tr> |
---|
| 88 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8f6da8a00abba70bc58c7a4030bd8940"></a><!-- doxytag: member="bdm::ArxDS::write" ref="a8f6da8a00abba70bc58c7a4030bd8940" args="(vec &ut)" --> |
---|
| 89 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#a8f6da8a00abba70bc58c7a4030bd8940">write</a> (vec &ut)</td></tr> |
---|
| 90 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Accepts action variable and schedule it for application. <br/></td></tr> |
---|
| 91 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a477fd706639535f520e9dbbd19f73318"></a><!-- doxytag: member="bdm::ArxDS::write" ref="a477fd706639535f520e9dbbd19f73318" args="(vec &ut, const ivec &indices)" --> |
---|
| 92 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#a477fd706639535f520e9dbbd19f73318">write</a> (vec &ut, const ivec &indices)</td></tr> |
---|
| 93 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Accepts action variables at specific indeces. <br/></td></tr> |
---|
| 94 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a57dfa26b23cc03d53b123fa7e0474b19"></a><!-- doxytag: member="bdm::ArxDS::step" ref="a57dfa26b23cc03d53b123fa7e0474b19" args="()" --> |
---|
| 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_12.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> |
---|
| 97 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7c8b418677a48041adacac8e8e9c9849"></a><!-- doxytag: member="bdm::ArxDS::ArxDS" ref="a7c8b418677a48041adacac8e8e9c9849" args="()" --> |
---|
| 98 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#a7c8b418677a48041adacac8e8e9c9849">ArxDS</a> ()</td></tr> |
---|
| 99 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <br/></td></tr> |
---|
| 100 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2d9abc62f1fee862f0e1c60c5c4a3c8a"></a><!-- doxytag: member="bdm::ArxDS::set_parameters" ref="a2d9abc62f1fee862f0e1c60c5c4a3c8a" args="(const mat &Th0, const vec mu0, const chmat &sqR0)" --> |
---|
| 101 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#a2d9abc62f1fee862f0e1c60c5c4a3c8a">set_parameters</a> (const mat &Th0, const vec mu0, const <a class="el" href="classbdm_1_1chmat.html">chmat</a> &sqR0)</td></tr> |
---|
| 102 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set parameters of the internal model, H is maximum time delay. <br/></td></tr> |
---|
| 103 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad57285965debab8a4bfc340d4477c853"></a><!-- doxytag: member="bdm::ArxDS::set_drv" ref="ad57285965debab8a4bfc340d4477c853" args="(const RV &yrv, const RV &urv, const RV &rrv)" --> |
---|
| 104 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#ad57285965debab8a4bfc340d4477c853">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, const <a class="el" href="classbdm_1_1RV.html">RV</a> &rrv)</td></tr> |
---|
| 105 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set. <br/></td></tr> |
---|
| 106 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae7438127de87c5a8128edfa12255b436"></a><!-- doxytag: member="bdm::ArxDS::set_options" ref="ae7438127de87c5a8128edfa12255b436" args="(const string &s)" --> |
---|
| 107 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#ae7438127de87c5a8128edfa12255b436">set_options</a> (const string &s)</td></tr> |
---|
| 108 | <tr><td class="mdescLeft"> </td><td class="mdescRight">set options from a string <br/></td></tr> |
---|
| 109 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a64819633a1191fcaa60d0de26ade2e52"></a><!-- doxytag: member="bdm::ArxDS::log_add" ref="a64819633a1191fcaa60d0de26ade2e52" args="(logger &L)" --> |
---|
| 110 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#a64819633a1191fcaa60d0de26ade2e52">log_add</a> (<a class="el" href="classbdm_1_1logger.html">logger</a> &L)</td></tr> |
---|
| 111 | <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> |
---|
| 112 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4128f5dc3a04063d62fc7e35635aeb90"></a><!-- doxytag: member="bdm::ArxDS::logit" ref="a4128f5dc3a04063d62fc7e35635aeb90" args="(logger &L)" --> |
---|
| 113 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#a4128f5dc3a04063d62fc7e35635aeb90">logit</a> (<a class="el" href="classbdm_1_1logger.html">logger</a> &L)</td></tr> |
---|
| 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 | <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="aed2113851294ed96abe60fc3f05aa660"></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> |
---|
| 118 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br/></td></tr> |
---|
| 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 | 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 | <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> |
---|
| 125 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::ArxDS::to_string" ref="aaf0e6941ba5919cae1bc530e2181b109" args="()" --> |
---|
| 126 | virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#aaf0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> |
---|
| 127 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns a basic info about the current instance. <br/></td></tr> |
---|
| 128 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::ArxDS::to_setting" ref="a67d954d255ede776eade7334d4895790" args="(Setting &set) const " --> |
---|
| 129 | 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> |
---|
| 130 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br/></td></tr> |
---|
| 131 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1c314bd6d6dacb8ba78ea5eb88fd9516"></a><!-- doxytag: member="bdm::ArxDS::validate" ref="a1c314bd6d6dacb8ba78ea5eb88fd9516" args="()" --> |
---|
| 132 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#a1c314bd6d6dacb8ba78ea5eb88fd9516">validate</a> ()</td></tr> |
---|
| 133 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method TODO. <br/></td></tr> |
---|
| 134 | <tr><td colspan="2"><h2>Protected Attributes</h2></td></tr> |
---|
| 135 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac7b3cc6cd059ff3d7f4462cedff4bdeb"></a><!-- doxytag: member="bdm::ArxDS::Rrv" ref="ac7b3cc6cd059ff3d7f4462cedff4bdeb" args="" --> |
---|
| 136 | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#ac7b3cc6cd059ff3d7f4462cedff4bdeb">Rrv</a></td></tr> |
---|
| 137 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Rv of the regressor. <br/></td></tr> |
---|
| 138 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa11a3f3fbeea1d17b66b073017964597"></a><!-- doxytag: member="bdm::ArxDS::H" ref="aa11a3f3fbeea1d17b66b073017964597" args="" --> |
---|
| 139 | 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> |
---|
| 141 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a392b87be85675cb3d55fa4953d671bb5"></a><!-- doxytag: member="bdm::ArxDS::U" ref="a392b87be85675cb3d55fa4953d671bb5" args="" --> |
---|
| 142 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#a392b87be85675cb3d55fa4953d671bb5">U</a></td></tr> |
---|
| 143 | <tr><td class="mdescLeft"> </td><td class="mdescRight">(future) input <br/></td></tr> |
---|
| 144 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab2d7530264499b92c3aa32454b960abe"></a><!-- doxytag: member="bdm::ArxDS::rgr" ref="ab2d7530264499b92c3aa32454b960abe" args="" --> |
---|
| 145 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#ab2d7530264499b92c3aa32454b960abe">rgr</a></td></tr> |
---|
| 146 | <tr><td class="mdescLeft"> </td><td class="mdescRight">temporary variable for regressor <br/></td></tr> |
---|
| 147 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afbe7b993ec5f75c195ae1b2ccd96a898"></a><!-- doxytag: member="bdm::ArxDS::rgrlnk" ref="afbe7b993ec5f75c195ae1b2ccd96a898" args="" --> |
---|
| 148 | <a class="el" href="classbdm_1_1datalink.html">datalink</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#afbe7b993ec5f75c195ae1b2ccd96a898">rgrlnk</a></td></tr> |
---|
| 149 | <tr><td class="mdescLeft"> </td><td class="mdescRight">data link: H -> rgr <br/></td></tr> |
---|
| 150 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0aa9d8d35792159dc9611802f6c190eb"></a><!-- doxytag: member="bdm::ArxDS::model" ref="a0aa9d8d35792159dc9611802f6c190eb" args="" --> |
---|
| 151 | <a class="el" href="classbdm_1_1mlnorm.html">mlnorm</a>< <a class="el" href="classbdm_1_1chmat.html">chmat</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#a0aa9d8d35792159dc9611802f6c190eb">model</a></td></tr> |
---|
| 152 | <tr><td class="mdescLeft"> </td><td class="mdescRight">model of Y - linear Gaussian <br/></td></tr> |
---|
| 153 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a064e5d3f2dc0b39459c7ca53d05223e1"></a><!-- doxytag: member="bdm::ArxDS::opt_L_theta" ref="a064e5d3f2dc0b39459c7ca53d05223e1" args="" --> |
---|
| 154 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#a064e5d3f2dc0b39459c7ca53d05223e1">opt_L_theta</a></td></tr> |
---|
| 155 | <tr><td class="mdescLeft"> </td><td class="mdescRight">options <br/></td></tr> |
---|
| 156 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae13e5ffdfe9d896089310b0fc54e0c85"></a><!-- doxytag: member="bdm::ArxDS::L_theta" ref="ae13e5ffdfe9d896089310b0fc54e0c85" args="" --> |
---|
| 157 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#ae13e5ffdfe9d896089310b0fc54e0c85">L_theta</a></td></tr> |
---|
| 158 | <tr><td class="mdescLeft"> </td><td class="mdescRight">loggers <br/></td></tr> |
---|
| 159 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a81a70c39cbd429fcc8130a35b368346c"></a><!-- doxytag: member="bdm::ArxDS::L_R" ref="a81a70c39cbd429fcc8130a35b368346c" args="" --> |
---|
[269] | 160 | int </td><td class="memItemRight" valign="bottom"><b>L_R</b></td></tr> |
---|
[591] | 161 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9ef18dad16bf2b66bd3e9c8d233e62d8"></a><!-- doxytag: member="bdm::ArxDS::dt_size" ref="a9ef18dad16bf2b66bd3e9c8d233e62d8" args="" --> |
---|
[271] | 162 | int </td><td class="memItemRight" valign="bottom"><b>dt_size</b></td></tr> |
---|
[591] | 163 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af96cae44624e79638a91ec4f2c7c81a9"></a><!-- doxytag: member="bdm::ArxDS::dtsize" ref="af96cae44624e79638a91ec4f2c7c81a9" args="" --> |
---|
[270] | 164 | int </td><td class="memItemRight" valign="bottom"><b>dtsize</b></td></tr> |
---|
[591] | 165 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad7467046a0bd05bc992cc5e1bdedb983"></a><!-- doxytag: member="bdm::ArxDS::utsize" ref="ad7467046a0bd05bc992cc5e1bdedb983" args="" --> |
---|
[270] | 166 | int </td><td class="memItemRight" valign="bottom"><b>utsize</b></td></tr> |
---|
[591] | 167 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad8db125ac35f3b8eeb773fc9a4cb45ec"></a><!-- doxytag: member="bdm::ArxDS::Drv" ref="ad8db125ac35f3b8eeb773fc9a4cb45ec" args="" --> |
---|
| 168 | <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> |
---|
| 169 | <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> |
---|
| 170 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9ac5970128fd39f4f6226723cd1de702"></a><!-- doxytag: member="bdm::ArxDS::Urv" ref="a9ac5970128fd39f4f6226723cd1de702" args="" --> |
---|
| 171 | <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 | <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> |
---|
| 173 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab4b7bdb9d98a11ab587aa0ad803bb867"></a><!-- doxytag: member="bdm::ArxDS::L_dt" ref="ab4b7bdb9d98a11ab587aa0ad803bb867" args="" --> |
---|
| 174 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#ab4b7bdb9d98a11ab587aa0ad803bb867">L_dt</a></td></tr> |
---|
| 175 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Remember its own index in Logger L. <br/></td></tr> |
---|
| 176 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab56b74ec21485846ccfad461f33b0e7a"></a><!-- doxytag: member="bdm::ArxDS::L_ut" ref="ab56b74ec21485846ccfad461f33b0e7a" args="" --> |
---|
[264] | 177 | int </td><td class="memItemRight" valign="bottom"><b>L_ut</b></td></tr> |
---|
[261] | 178 | </table> |
---|
[591] | 179 | <hr/><a name="_details"></a><h2>Detailed Description</h2> |
---|
| 180 | <p>Generator of <a class="el" href="classbdm_1_1ARX.html" title="Linear Autoregressive model with Gaussian noise.">ARX</a> data. </p> |
---|
| 181 | <hr/><h2>Member Function Documentation</h2> |
---|
| 182 | <a class="anchor" id="a9b109ee7bba9774057b107383b6ecc24"></a><!-- doxytag: member="bdm::ArxDS::from_setting" ref="a9b109ee7bba9774057b107383b6ecc24" args="(const Setting &set)" --> |
---|
[368] | 183 | <div class="memitem"> |
---|
| 184 | <div class="memproto"> |
---|
| 185 | <table class="memname"> |
---|
| 186 | <tr> |
---|
[591] | 187 | <td class="memname">void ArxDS::from_setting </td> |
---|
[368] | 188 | <td>(</td> |
---|
| 189 | <td class="paramtype">const Setting & </td> |
---|
[591] | 190 | <td class="paramname"> <em>set</em></td> |
---|
[368] | 191 | <td> ) </td> |
---|
| 192 | <td><code> [virtual]</code></td> |
---|
| 193 | </tr> |
---|
| 194 | </table> |
---|
| 195 | </div> |
---|
| 196 | <div class="memdoc"> |
---|
[591] | 197 | <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 | <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>; |
---|
[368] | 201 | <span class="comment">// description of y variables</span> |
---|
[591] | 202 | y = {type=<span class="stringliteral">"rv"</span>; names=[<span class="stringliteral">"y"</span>, <span class="stringliteral">"u"</span>];}; |
---|
[368] | 203 | <span class="comment">// description of u variable</span> |
---|
[591] | 204 | u = {type=<span class="stringliteral">"rv"</span>; names=[];} |
---|
[368] | 205 | <span class="comment">// description of regressor</span> |
---|
[591] | 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>]; |
---|
[368] | 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> |
---|
[591] | 220 | opt = <span class="stringliteral">"L_theta"</span>; |
---|
[368] | 221 | }; |
---|
[591] | 222 | </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> |
---|
[368] | 223 | |
---|
[591] | 224 | <p>Reimplemented from <a class="el" href="classbdm_1_1root.html#a0551e3121091c5199bf4413b50522176">bdm::root</a>.</p> |
---|
[368] | 225 | |
---|
[591] | 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#l00180">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> |
---|
| 227 | |
---|
[368] | 228 | </div> |
---|
[397] | 229 | </div> |
---|
[591] | 230 | <hr/>The documentation for this class was generated from the following files:<ul> |
---|
| 231 | <li><a class="el" href="datasources_8h_source.html">datasources.h</a></li> |
---|
| 232 | <li>datasources.cpp</li> |
---|
| 233 | </ul> |
---|
| 234 | </div> |
---|
| 235 | <hr size="1"/><address style="text-align: right;"><small>Generated on Sun Aug 30 22:10:50 2009 for mixpp by |
---|
[261] | 236 | <a href="http://www.doxygen.org/index.html"> |
---|
[591] | 237 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> |
---|
[261] | 238 | </body> |
---|
| 239 | </html> |
---|