[261] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
| 2 | <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
---|
| 3 | <title>mixpp: bdm::ArxDS Class Reference</title> |
---|
| 4 | <link href="tabs.css" rel="stylesheet" type="text/css"> |
---|
[290] | 5 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
[261] | 6 | </head><body> |
---|
[472] | 7 | <!-- Generated by Doxygen 1.5.9 --> |
---|
[271] | 8 | <script type="text/javascript"> |
---|
| 9 | <!-- |
---|
| 10 | function changeDisplayState (e){ |
---|
| 11 | var num=this.id.replace(/[^[0-9]/g,''); |
---|
| 12 | var button=this.firstChild; |
---|
| 13 | var sectionDiv=document.getElementById('dynsection'+num); |
---|
| 14 | if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){ |
---|
| 15 | sectionDiv.style.display='block'; |
---|
| 16 | button.src='open.gif'; |
---|
| 17 | }else{ |
---|
| 18 | sectionDiv.style.display='none'; |
---|
| 19 | button.src='closed.gif'; |
---|
| 20 | } |
---|
| 21 | } |
---|
| 22 | function initDynSections(){ |
---|
| 23 | var divs=document.getElementsByTagName('div'); |
---|
| 24 | var sectionCounter=1; |
---|
| 25 | for(var i=0;i<divs.length-1;i++){ |
---|
| 26 | if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){ |
---|
| 27 | var header=divs[i]; |
---|
| 28 | var section=divs[i+1]; |
---|
| 29 | var button=header.firstChild; |
---|
| 30 | if (button!='IMG'){ |
---|
| 31 | divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild); |
---|
| 32 | button=document.createElement('img'); |
---|
| 33 | divs[i].insertBefore(button,divs[i].firstChild); |
---|
| 34 | } |
---|
| 35 | header.style.cursor='pointer'; |
---|
| 36 | header.onclick=changeDisplayState; |
---|
| 37 | header.id='dynheader'+sectionCounter; |
---|
| 38 | button.src='closed.gif'; |
---|
| 39 | section.id='dynsection'+sectionCounter; |
---|
| 40 | section.style.display='none'; |
---|
| 41 | section.style.marginLeft='14px'; |
---|
| 42 | sectionCounter++; |
---|
| 43 | } |
---|
| 44 | } |
---|
| 45 | } |
---|
| 46 | window.onload = initDynSections; |
---|
| 47 | --> |
---|
| 48 | </script> |
---|
[261] | 49 | <div class="navigation" id="top"> |
---|
| 50 | <div class="tabs"> |
---|
| 51 | <ul> |
---|
[271] | 52 | <li><a href="main.html"><span>Main Page</span></a></li> |
---|
[261] | 53 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
[290] | 54 | <li class="current"><a href="annotated.html"><span>Classes</span></a></li> |
---|
[261] | 55 | <li><a href="files.html"><span>Files</span></a></li> |
---|
| 56 | </ul> |
---|
| 57 | </div> |
---|
| 58 | <div class="tabs"> |
---|
| 59 | <ul> |
---|
| 60 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
[290] | 61 | <li><a href="classes.html"><span>Class Index</span></a></li> |
---|
[261] | 62 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
| 63 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
| 64 | </ul> |
---|
| 65 | </div> |
---|
[271] | 66 | <div class="navpath"><b>bdm</b>::<a class="el" href="classbdm_1_1ArxDS.html">ArxDS</a> |
---|
[261] | 67 | </div> |
---|
| 68 | </div> |
---|
| 69 | <div class="contents"> |
---|
[290] | 70 | <h1>bdm::ArxDS Class Reference</h1><!-- doxytag: class="bdm::ArxDS" --><!-- doxytag: inherits="bdm::DS" -->Generator of <a class="el" href="classbdm_1_1ARX.html" title="Linear Autoregressive model with Gaussian noise.">ARX</a> data. |
---|
| 71 | <a href="#_details">More...</a> |
---|
[261] | 72 | <p> |
---|
[472] | 73 | <code>#include <<a class="el" href="datasources_8h_source.html">datasources.h</a>></code> |
---|
[290] | 74 | <p> |
---|
[261] | 75 | |
---|
| 76 | <p> |
---|
[290] | 77 | <a href="classbdm_1_1ArxDS-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
[261] | 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="db242e35812c311c8415bb7e31c3f595"></a><!-- doxytag: member="bdm::ArxDS::getdata" ref="db242e35812c311c8415bb7e31c3f595" args="(vec &dt)" --> |
---|
| 81 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#db242e35812c311c8415bb7e31c3f595">getdata</a> (vec &dt)</td></tr> |
---|
| 82 | |
---|
[264] | 83 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns full vector of observed data=[output, input]. <br></td></tr> |
---|
[271] | 84 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="701151418bc5fc3861acef8359fb0d80"></a><!-- doxytag: member="bdm::ArxDS::getdata" ref="701151418bc5fc3861acef8359fb0d80" args="(vec &dt, const ivec &indices)" --> |
---|
| 85 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#701151418bc5fc3861acef8359fb0d80">getdata</a> (vec &dt, const ivec &indices)</td></tr> |
---|
[261] | 86 | |
---|
| 87 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns data records at indeces. <br></td></tr> |
---|
| 88 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8f6da8a00abba70bc58c7a4030bd8940"></a><!-- doxytag: member="bdm::ArxDS::write" ref="8f6da8a00abba70bc58c7a4030bd8940" args="(vec &ut)" --> |
---|
| 89 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#8f6da8a00abba70bc58c7a4030bd8940">write</a> (vec &ut)</td></tr> |
---|
| 90 | |
---|
| 91 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Accepts action variable and schedule it for application. <br></td></tr> |
---|
[271] | 92 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="477fd706639535f520e9dbbd19f73318"></a><!-- doxytag: member="bdm::ArxDS::write" ref="477fd706639535f520e9dbbd19f73318" args="(vec &ut, const ivec &indices)" --> |
---|
| 93 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#477fd706639535f520e9dbbd19f73318">write</a> (vec &ut, const ivec &indices)</td></tr> |
---|
[261] | 94 | |
---|
| 95 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Accepts action variables at specific indeces. <br></td></tr> |
---|
| 96 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="57dfa26b23cc03d53b123fa7e0474b19"></a><!-- doxytag: member="bdm::ArxDS::step" ref="57dfa26b23cc03d53b123fa7e0474b19" args="()" --> |
---|
| 97 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#57dfa26b23cc03d53b123fa7e0474b19">step</a> ()</td></tr> |
---|
| 98 | |
---|
[397] | 99 | <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> |
---|
[270] | 100 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7c8b418677a48041adacac8e8e9c9849"></a><!-- doxytag: member="bdm::ArxDS::ArxDS" ref="7c8b418677a48041adacac8e8e9c9849" args="()" --> |
---|
| 101 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#7c8b418677a48041adacac8e8e9c9849">ArxDS</a> ()</td></tr> |
---|
[261] | 102 | |
---|
| 103 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <br></td></tr> |
---|
| 104 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2d9abc62f1fee862f0e1c60c5c4a3c8a"></a><!-- doxytag: member="bdm::ArxDS::set_parameters" ref="2d9abc62f1fee862f0e1c60c5c4a3c8a" args="(const mat &Th0, const vec mu0, const chmat &sqR0)" --> |
---|
| 105 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#2d9abc62f1fee862f0e1c60c5c4a3c8a">set_parameters</a> (const mat &Th0, const vec mu0, const <a class="el" href="classchmat.html">chmat</a> &sqR0)</td></tr> |
---|
| 106 | |
---|
[271] | 107 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set parameters of the internal model, H is maximum time delay. <br></td></tr> |
---|
| 108 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bf9cd9d4043d7e0dc61de56db37ec703"></a><!-- doxytag: member="bdm::ArxDS::set_drv" ref="bf9cd9d4043d7e0dc61de56db37ec703" args="(RV &yrv, RV &urv, RV &rrv)" --> |
---|
| 109 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#bf9cd9d4043d7e0dc61de56db37ec703">set_drv</a> (<a class="el" href="classbdm_1_1RV.html">RV</a> &yrv, <a class="el" href="classbdm_1_1RV.html">RV</a> &urv, <a class="el" href="classbdm_1_1RV.html">RV</a> &rrv)</td></tr> |
---|
| 110 | |
---|
| 111 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set. <br></td></tr> |
---|
[269] | 112 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e7438127de87c5a8128edfa12255b436"></a><!-- doxytag: member="bdm::ArxDS::set_options" ref="e7438127de87c5a8128edfa12255b436" args="(const string &s)" --> |
---|
| 113 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#e7438127de87c5a8128edfa12255b436">set_options</a> (const string &s)</td></tr> |
---|
[264] | 114 | |
---|
[269] | 115 | <tr><td class="mdescLeft"> </td><td class="mdescRight">set options from a string <br></td></tr> |
---|
| 116 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="64819633a1191fcaa60d0de26ade2e52"></a><!-- doxytag: member="bdm::ArxDS::log_add" ref="64819633a1191fcaa60d0de26ade2e52" args="(logger &L)" --> |
---|
| 117 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#64819633a1191fcaa60d0de26ade2e52">log_add</a> (<a class="el" href="classbdm_1_1logger.html">logger</a> &L)</td></tr> |
---|
[264] | 118 | |
---|
[269] | 119 | <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> |
---|
| 120 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4128f5dc3a04063d62fc7e35635aeb90"></a><!-- doxytag: member="bdm::ArxDS::logit" ref="4128f5dc3a04063d62fc7e35635aeb90" args="(logger &L)" --> |
---|
| 121 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#4128f5dc3a04063d62fc7e35635aeb90">logit</a> (<a class="el" href="classbdm_1_1logger.html">logger</a> &L)</td></tr> |
---|
| 122 | |
---|
| 123 | <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> |
---|
[396] | 124 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#9b109ee7bba9774057b107383b6ecc24">from_setting</a> (const Setting &set)</td></tr> |
---|
[368] | 125 | |
---|
[269] | 126 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ed2113851294ed96abe60fc3f05aa660"></a><!-- doxytag: member="bdm::ArxDS::_drv" ref="ed2113851294ed96abe60fc3f05aa660" args="() const " --> |
---|
| 127 | 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#ed2113851294ed96abe60fc3f05aa660">_drv</a> () const </td></tr> |
---|
| 128 | |
---|
| 129 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
| 130 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a6a9a375da64c82fc227bda3418a1f33"></a><!-- doxytag: member="bdm::ArxDS::_urv" ref="a6a9a375da64c82fc227bda3418a1f33" args="() const " --> |
---|
| 131 | 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> |
---|
| 132 | |
---|
| 133 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
[353] | 134 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="821297dfd839d68691324f024e57252f"></a><!-- doxytag: member="bdm::ArxDS::set_drv" ref="821297dfd839d68691324f024e57252f" args="(const RV &drv, const RV &urv)" --> |
---|
| 135 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#821297dfd839d68691324f024e57252f">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> |
---|
| 136 | |
---|
| 137 | <tr><td class="mdescLeft"> </td><td class="mdescRight">set random rvariables <br></td></tr> |
---|
[396] | 138 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::ArxDS::to_string" ref="af0e6941ba5919cae1bc530e2181b109" args="()" --> |
---|
| 139 | virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#af0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> |
---|
[353] | 140 | |
---|
| 141 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns a basic info about the current instance. <br></td></tr> |
---|
[396] | 142 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::ArxDS::to_setting" ref="67d954d255ede776eade7334d4895790" args="(Setting &set) const " --> |
---|
| 143 | 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> |
---|
[353] | 144 | |
---|
| 145 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br></td></tr> |
---|
[396] | 146 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1c314bd6d6dacb8ba78ea5eb88fd9516"></a><!-- doxytag: member="bdm::ArxDS::validate" ref="1c314bd6d6dacb8ba78ea5eb88fd9516" args="()" --> |
---|
| 147 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#1c314bd6d6dacb8ba78ea5eb88fd9516">validate</a> ()</td></tr> |
---|
[368] | 148 | |
---|
| 149 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method TODO. <br></td></tr> |
---|
[261] | 150 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
---|
[269] | 151 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c7b3cc6cd059ff3d7f4462cedff4bdeb"></a><!-- doxytag: member="bdm::ArxDS::Rrv" ref="c7b3cc6cd059ff3d7f4462cedff4bdeb" args="" --> |
---|
| 152 | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#c7b3cc6cd059ff3d7f4462cedff4bdeb">Rrv</a></td></tr> |
---|
| 153 | |
---|
| 154 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Rv of the regressor. <br></td></tr> |
---|
| 155 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a11a3f3fbeea1d17b66b073017964597"></a><!-- doxytag: member="bdm::ArxDS::H" ref="a11a3f3fbeea1d17b66b073017964597" args="" --> |
---|
| 156 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#a11a3f3fbeea1d17b66b073017964597">H</a></td></tr> |
---|
| 157 | |
---|
[397] | 158 | <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> |
---|
[269] | 159 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="392b87be85675cb3d55fa4953d671bb5"></a><!-- doxytag: member="bdm::ArxDS::U" ref="392b87be85675cb3d55fa4953d671bb5" args="" --> |
---|
| 160 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#392b87be85675cb3d55fa4953d671bb5">U</a></td></tr> |
---|
| 161 | |
---|
| 162 | <tr><td class="mdescLeft"> </td><td class="mdescRight">(future) input <br></td></tr> |
---|
| 163 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b2d7530264499b92c3aa32454b960abe"></a><!-- doxytag: member="bdm::ArxDS::rgr" ref="b2d7530264499b92c3aa32454b960abe" args="" --> |
---|
| 164 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#b2d7530264499b92c3aa32454b960abe">rgr</a></td></tr> |
---|
| 165 | |
---|
| 166 | <tr><td class="mdescLeft"> </td><td class="mdescRight">temporary variable for regressor <br></td></tr> |
---|
[271] | 167 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fbe7b993ec5f75c195ae1b2ccd96a898"></a><!-- doxytag: member="bdm::ArxDS::rgrlnk" ref="fbe7b993ec5f75c195ae1b2ccd96a898" args="" --> |
---|
| 168 | <a class="el" href="classbdm_1_1datalink.html">datalink</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#fbe7b993ec5f75c195ae1b2ccd96a898">rgrlnk</a></td></tr> |
---|
[269] | 169 | |
---|
| 170 | <tr><td class="mdescLeft"> </td><td class="mdescRight">data link: H -> rgr <br></td></tr> |
---|
| 171 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0aa9d8d35792159dc9611802f6c190eb"></a><!-- doxytag: member="bdm::ArxDS::model" ref="0aa9d8d35792159dc9611802f6c190eb" args="" --> |
---|
| 172 | <a class="el" href="classbdm_1_1mlnorm.html">mlnorm</a>< <a class="el" href="classchmat.html">chmat</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#0aa9d8d35792159dc9611802f6c190eb">model</a></td></tr> |
---|
| 173 | |
---|
| 174 | <tr><td class="mdescLeft"> </td><td class="mdescRight">model of Y - linear Gaussian <br></td></tr> |
---|
| 175 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="064e5d3f2dc0b39459c7ca53d05223e1"></a><!-- doxytag: member="bdm::ArxDS::opt_L_theta" ref="064e5d3f2dc0b39459c7ca53d05223e1" args="" --> |
---|
| 176 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#064e5d3f2dc0b39459c7ca53d05223e1">opt_L_theta</a></td></tr> |
---|
| 177 | |
---|
| 178 | <tr><td class="mdescLeft"> </td><td class="mdescRight">options <br></td></tr> |
---|
| 179 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e13e5ffdfe9d896089310b0fc54e0c85"></a><!-- doxytag: member="bdm::ArxDS::L_theta" ref="e13e5ffdfe9d896089310b0fc54e0c85" args="" --> |
---|
| 180 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1ArxDS.html#e13e5ffdfe9d896089310b0fc54e0c85">L_theta</a></td></tr> |
---|
| 181 | |
---|
| 182 | <tr><td class="mdescLeft"> </td><td class="mdescRight">loggers <br></td></tr> |
---|
| 183 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="81a70c39cbd429fcc8130a35b368346c"></a><!-- doxytag: member="bdm::ArxDS::L_R" ref="81a70c39cbd429fcc8130a35b368346c" args="" --> |
---|
| 184 | int </td><td class="memItemRight" valign="bottom"><b>L_R</b></td></tr> |
---|
| 185 | |
---|
[271] | 186 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9ef18dad16bf2b66bd3e9c8d233e62d8"></a><!-- doxytag: member="bdm::ArxDS::dt_size" ref="9ef18dad16bf2b66bd3e9c8d233e62d8" args="" --> |
---|
| 187 | int </td><td class="memItemRight" valign="bottom"><b>dt_size</b></td></tr> |
---|
| 188 | |
---|
[270] | 189 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f96cae44624e79638a91ec4f2c7c81a9"></a><!-- doxytag: member="bdm::ArxDS::dtsize" ref="f96cae44624e79638a91ec4f2c7c81a9" args="" --> |
---|
| 190 | int </td><td class="memItemRight" valign="bottom"><b>dtsize</b></td></tr> |
---|
| 191 | |
---|
| 192 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d7467046a0bd05bc992cc5e1bdedb983"></a><!-- doxytag: member="bdm::ArxDS::utsize" ref="d7467046a0bd05bc992cc5e1bdedb983" args="" --> |
---|
| 193 | int </td><td class="memItemRight" valign="bottom"><b>utsize</b></td></tr> |
---|
| 194 | |
---|
[261] | 195 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d8db125ac35f3b8eeb773fc9a4cb45ec"></a><!-- doxytag: member="bdm::ArxDS::Drv" ref="d8db125ac35f3b8eeb773fc9a4cb45ec" args="" --> |
---|
| 196 | <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> |
---|
| 197 | |
---|
[270] | 198 | <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> |
---|
[261] | 199 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9ac5970128fd39f4f6226723cd1de702"></a><!-- doxytag: member="bdm::ArxDS::Urv" ref="9ac5970128fd39f4f6226723cd1de702" args="" --> |
---|
| 200 | <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> |
---|
| 201 | |
---|
[270] | 202 | <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> |
---|
[264] | 203 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b4b7bdb9d98a11ab587aa0ad803bb867"></a><!-- doxytag: member="bdm::ArxDS::L_dt" ref="b4b7bdb9d98a11ab587aa0ad803bb867" args="" --> |
---|
| 204 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#b4b7bdb9d98a11ab587aa0ad803bb867">L_dt</a></td></tr> |
---|
| 205 | |
---|
| 206 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Remember its own index in Logger L. <br></td></tr> |
---|
| 207 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b56b74ec21485846ccfad461f33b0e7a"></a><!-- doxytag: member="bdm::ArxDS::L_ut" ref="b56b74ec21485846ccfad461f33b0e7a" args="" --> |
---|
| 208 | int </td><td class="memItemRight" valign="bottom"><b>L_ut</b></td></tr> |
---|
| 209 | |
---|
[261] | 210 | </table> |
---|
[290] | 211 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
[368] | 212 | Generator of <a class="el" href="classbdm_1_1ARX.html" title="Linear Autoregressive model with Gaussian noise.">ARX</a> data. <hr><h2>Member Function Documentation</h2> |
---|
[396] | 213 | <a class="anchor" name="9b109ee7bba9774057b107383b6ecc24"></a><!-- doxytag: member="bdm::ArxDS::from_setting" ref="9b109ee7bba9774057b107383b6ecc24" args="(const Setting &set)" --> |
---|
[368] | 214 | <div class="memitem"> |
---|
| 215 | <div class="memproto"> |
---|
| 216 | <table class="memname"> |
---|
| 217 | <tr> |
---|
| 218 | <td class="memname">void ArxDS::from_setting </td> |
---|
| 219 | <td>(</td> |
---|
| 220 | <td class="paramtype">const Setting & </td> |
---|
[396] | 221 | <td class="paramname"> <em>set</em> </td> |
---|
[368] | 222 | <td> ) </td> |
---|
| 223 | <td><code> [virtual]</code></td> |
---|
| 224 | </tr> |
---|
| 225 | </table> |
---|
| 226 | </div> |
---|
| 227 | <div class="memdoc"> |
---|
| 228 | |
---|
| 229 | <p> |
---|
[472] | 230 | <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> |
---|
[368] | 231 | The <a class="el" href="classbdm_1_1ArxDS.html" title="Generator of ARX data.">ArxDS</a> is constructed from a structure with fields: <div class="fragment"><pre class="fragment"> system = { |
---|
| 232 | type = <span class="stringliteral">"ArxDS"</span>; |
---|
| 233 | <span class="comment">// description of y variables</span> |
---|
| 234 | y = {type=<span class="stringliteral">"rv"</span>; names=[<span class="stringliteral">"y"</span>, <span class="stringliteral">"u"</span>];}; |
---|
| 235 | <span class="comment">// description of u variable</span> |
---|
| 236 | u = {type=<span class="stringliteral">"rv"</span>; names=[];} |
---|
| 237 | <span class="comment">// description of regressor</span> |
---|
| 238 | <a class="code" href="classbdm_1_1ArxDS.html#b2d7530264499b92c3aa32454b960abe" title="temporary variable for regressor">rgr</a> = {type=<span class="stringliteral">"rv"</span>; |
---|
| 239 | names = [<span class="stringliteral">"y"</span>,<span class="stringliteral">"y"</span>,<span class="stringliteral">"y"</span>,<span class="stringliteral">"u"</span>]; |
---|
| 240 | times = [-1, -2, -3, -1]; |
---|
| 241 | } |
---|
| 242 | |
---|
| 243 | <span class="comment">// theta</span> |
---|
| 244 | theta = [0.8, -0.3, 0.4, 1.0, |
---|
| 245 | 0.0, 0.0, 0.0, 0.0]; |
---|
| 246 | <span class="comment">// offset (optional)</span> |
---|
| 247 | offset = [0.0, 0.0]; |
---|
| 248 | <span class="comment">//variance</span> |
---|
| 249 | r = [0.1, 0.0, |
---|
| 250 | 0.0, 1.0]; |
---|
| 251 | <span class="comment">//options: L_theta = log value of theta,</span> |
---|
| 252 | opt = <span class="stringliteral">"L_theta"</span>; |
---|
| 253 | }; |
---|
| 254 | </pre></div><p> |
---|
| 255 | 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. |
---|
[396] | 256 | <p>Reimplemented from <a class="el" href="classbdm_1_1root.html#0551e3121091c5199bf4413b50522176">bdm::root</a>.</p> |
---|
[368] | 257 | |
---|
[472] | 258 | <p>References <a class="el" href="user__info_8h_source.html#l00387">bdm::UI::get()</a>, <a class="el" href="datasources_8h_source.html#l00168">set_drv()</a>, <a class="el" href="datasources_8h_source.html#l00188">set_options()</a>, and <a class="el" href="datasources_8h_source.html#l00165">set_parameters()</a>.</p> |
---|
[368] | 259 | |
---|
| 260 | </div> |
---|
| 261 | </div><p> |
---|
| 262 | <hr>The documentation for this class was generated from the following files:<ul> |
---|
[472] | 263 | <li><a class="el" href="datasources_8h_source.html">datasources.h</a><li>datasources.cpp</ul> |
---|
[397] | 264 | </div> |
---|
[472] | 265 | <hr size="1"><address style="text-align: right;"><small>Generated on Wed Aug 5 00:06:56 2009 for mixpp by |
---|
[261] | 266 | <a href="http://www.doxygen.org/index.html"> |
---|
[472] | 267 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> |
---|
[261] | 268 | </body> |
---|
| 269 | </html> |
---|