Show
Ignore:
Timestamp:
10/15/09 00:10:19 (15 years ago)
Author:
smidl
Message:

doc

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/doc/html/arx__ctrl_8h_source.html

    r656 r661  
    8080<a name="l00030"></a>00030                 <span class="keyword">public</span>: 
    8181<a name="l00032"></a><a class="code" href="classbdm_1_1LQG__ARX.html#aa8b901b37f009400fa68bfdefa473eeb">00032</a>                         <a class="code" href="classbdm_1_1LQG__ARX.html#aa8b901b37f009400fa68bfdefa473eeb">LQG_ARX</a>(): <a class="code" href="classbdm_1_1LQG__ARX.html#ae826eb0d2392dfd782d5f213df6288cc" title="Internal ARX estimator.">ar</a>(), <a class="code" href="classbdm_1_1LQG__ARX.html#afb08b341bf00588e7aa6aba33db315c9" title="Internal LQG designer.">lq</a>(), statemodel(new <a class="code" href="classbdm_1_1StateSpace.html" title="Basic elements of linear state-space model.">StateSpace</a>) { } 
    82 <a name="l00033"></a>00033                                                  
    83 <a name="l00034"></a>00034                         <span class="keywordtype">void</span> initialize() { 
    84 <a name="l00035"></a>00035                                  
    85 <a name="l00036"></a>00036                         } 
    86 <a name="l00038"></a><a class="code" href="classbdm_1_1LQG__ARX.html#a838a63f9481b4bb8055896492a30c0af">00038</a>                         <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1LQG__ARX.html#a838a63f9481b4bb8055896492a30c0af" title="adaptation is to store arx estimates in stsp">adapt</a>(){ 
    87 <a name="l00039"></a>00039                                 <a class="code" href="classbdm_1_1ARX.html" title="Linear Autoregressive model with Gaussian noise.">ARX</a>.to_state_space(<a class="code" href="classbdm_1_1LQG__ARX.html#ad5ddc7af692f2c1b2f04ea903ed966f4" title="Intermediate StateSpace model.">stsp</a>); 
    88 <a name="l00040"></a>00040                         } 
    89 <a name="l00043"></a>00043  
    90 <a name="l00055"></a><a class="code" href="classbdm_1_1LQG__ARX.html#a2c9556d56bb75fc2eb6c0c7d8e9e0145">00055</a>                         <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1LQG__ARX.html#a2c9556d56bb75fc2eb6c0c7d8e9e0145" title="LQG is defined by quadratic loss function.">from_settings</a>(<span class="keyword">const</span> Settings &amp;<span class="keyword">set</span>){ 
    91 <a name="l00056"></a>00056                                 <a class="code" href="classbdm_1_1LQG__ARX.html#ae826eb0d2392dfd782d5f213df6288cc" title="Internal ARX estimator.">ar</a>=UI::build&lt;ARX&gt; (<span class="keyword">set</span>, <span class="stringliteral">&quot;ARX&quot;</span>,UI::compulsory); 
    92 <a name="l00057"></a>00057                                  
    93 <a name="l00058"></a>00058                                 <a class="code" href="classbdm_1_1UI.html#acd1667e6fec99ec64dabcb3ca2ff922d">UI::get</a>(Qu, <span class="keyword">set</span>, <span class="stringliteral">&quot;Qu&quot;</span>, UI::compulsory); 
    94 <a name="l00059"></a>00059                                 UI::get(Qy, <span class="keyword">set</span>, <span class="stringliteral">&quot;Qy&quot;</span>, UI::compulsory); 
    95 <a name="l00060"></a>00060                  
    96 <a name="l00061"></a>00061                                 <span class="keywordflow">if</span> (!UI::get(y_req, <span class="keyword">set</span>, <span class="stringliteral">&quot;yreq&quot;</span>, UI::optional)) 
    97 <a name="l00062"></a>00062                                         y_req = zeros(<a class="code" href="classbdm_1_1Controller.html#a2ae938d29716585c5385df37ae861e18" title="identifier of the system output;">yrv</a>.<a class="code" href="classbdm_1_1RV.html#ade30156104f61d86c94f758861418089" title="total size of a random variable">_dsize</a>()); 
    98 <a name="l00063"></a>00063                                 <span class="keywordflow">if</span> (!UI::get(u_req, <span class="keyword">set</span>, <span class="stringliteral">&quot;ureq&quot;</span>, UI::optional)) 
    99 <a name="l00064"></a>00064                                         u_req = zeros(<a class="code" href="classbdm_1_1Controller.html#a357598cc95da1eed3d50751847e71f37" title="identifier of the system input;">urv</a>.<a class="code" href="classbdm_1_1RV.html#ade30156104f61d86c94f758861418089" title="total size of a random variable">_dsize</a>()); 
    100 <a name="l00065"></a>00065                         } 
    101 <a name="l00066"></a>00066         }; 
    102 <a name="l00067"></a>00067          
    103 <a name="l00068"></a>00068 } <span class="comment">// namespace</span> 
     82<a name="l00033"></a>00033  
     83<a name="l00035"></a><a class="code" href="classbdm_1_1LQG__ARX.html#ae9131f387df9d29d9859bbcdeb7cb504">00035</a>                         <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1LQG__ARX.html#ae9131f387df9d29d9859bbcdeb7cb504" title="setup internal structures">initialize</a>() { 
     84<a name="l00036"></a>00036                                  
     85<a name="l00037"></a>00037                         } 
     86<a name="l00039"></a><a class="code" href="classbdm_1_1LQG__ARX.html#a838a63f9481b4bb8055896492a30c0af">00039</a>                         <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1LQG__ARX.html#a838a63f9481b4bb8055896492a30c0af" title="adaptation is to store arx estimates in stsp">adapt</a>(){ 
     87<a name="l00040"></a>00040                                 <a class="code" href="classbdm_1_1ARX.html" title="Linear Autoregressive model with Gaussian noise.">ARX</a>.to_state_space(<a class="code" href="classbdm_1_1LQG__ARX.html#ad5ddc7af692f2c1b2f04ea903ed966f4" title="Intermediate StateSpace model.">stsp</a>); 
     88<a name="l00041"></a>00041                         } 
     89<a name="l00044"></a>00044  
     90<a name="l00056"></a><a class="code" href="classbdm_1_1LQG__ARX.html#a2c9556d56bb75fc2eb6c0c7d8e9e0145">00056</a>                         <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1LQG__ARX.html#a2c9556d56bb75fc2eb6c0c7d8e9e0145" title="LQG is defined by quadratic loss function.">from_settings</a>(<span class="keyword">const</span> Settings &amp;<span class="keyword">set</span>){ 
     91<a name="l00057"></a>00057                                 <a class="code" href="classbdm_1_1LQG__ARX.html#ae826eb0d2392dfd782d5f213df6288cc" title="Internal ARX estimator.">ar</a>=UI::build&lt;ARX&gt; (<span class="keyword">set</span>, <span class="stringliteral">&quot;ARX&quot;</span>,UI::compulsory); 
     92<a name="l00058"></a>00058                                  
     93<a name="l00059"></a>00059                                 <a class="code" href="classbdm_1_1UI.html#acd1667e6fec99ec64dabcb3ca2ff922d">UI::get</a>(Qu, <span class="keyword">set</span>, <span class="stringliteral">&quot;Qu&quot;</span>, UI::compulsory); 
     94<a name="l00060"></a>00060                                 UI::get(Qy, <span class="keyword">set</span>, <span class="stringliteral">&quot;Qy&quot;</span>, UI::compulsory); 
     95<a name="l00061"></a>00061                  
     96<a name="l00062"></a>00062                                 <span class="keywordflow">if</span> (!UI::get(y_req, <span class="keyword">set</span>, <span class="stringliteral">&quot;yreq&quot;</span>, UI::optional)) 
     97<a name="l00063"></a>00063                                         y_req = zeros(<a class="code" href="classbdm_1_1Controller.html#a2ae938d29716585c5385df37ae861e18" title="identifier of the system output;">yrv</a>.<a class="code" href="classbdm_1_1RV.html#ade30156104f61d86c94f758861418089" title="total size of a random variable">_dsize</a>()); 
     98<a name="l00064"></a>00064                                 <span class="keywordflow">if</span> (!UI::get(u_req, <span class="keyword">set</span>, <span class="stringliteral">&quot;ureq&quot;</span>, UI::optional)) 
     99<a name="l00065"></a>00065                                         u_req = zeros(<a class="code" href="classbdm_1_1Controller.html#a357598cc95da1eed3d50751847e71f37" title="identifier of the system input;">urv</a>.<a class="code" href="classbdm_1_1RV.html#ade30156104f61d86c94f758861418089" title="total size of a random variable">_dsize</a>()); 
     100<a name="l00066"></a>00066                         } 
     101<a name="l00067"></a>00067         }; 
     102<a name="l00068"></a>00068          
     103<a name="l00069"></a>00069 } <span class="comment">// namespace</span> 
    104104</pre></div></div> 
    105 <hr size="1"/><address style="text-align: right;"><small>Generated on Mon Oct 12 19:37:18 2009 for mixpp by&nbsp; 
     105<hr size="1"/><address style="text-align: right;"><small>Generated on Thu Oct 15 00:07:48 2009 for mixpp by&nbsp; 
    106106<a href="http://www.doxygen.org/index.html"> 
    107107<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>