Show
Ignore:
Timestamp:
06/02/09 10:24:26 (15 years ago)
Author:
smidl
Message:

doc - oprava

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • doc/html/libDS_8h-source.html

    r353 r354  
    8484<a name="l00042"></a>00042         <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1MemDS.html#23522b9e7dd0bb0c365cc9cde4c05449" title="Returns full vector of observed data=[output, input].">getdata</a> ( vec &amp;dt, <span class="keyword">const</span> ivec &amp;indeces ); 
    8585<a name="l00043"></a>00043         <span class="keywordtype">void</span> set_rvs ( <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> &amp;drv, <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> &amp;urv ); 
    86 <a name="l00044"></a><a class="code" href="classbdm_1_1MemDS.html#9a7f17598fe2b458707ba932865beef5">00044</a>         <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1MemDS.html#9a7f17598fe2b458707ba932865beef5" title="Accepts action variable and schedule it for application.">write</a> ( vec &amp;ut ) {<a class="code" href="group__errorhandlingfunc.html#g22d38e98332f9edff88cc501463eedce" title="Abort unconditionally.">it_error</a> ( <span class="stringliteral">"MemDS::write is not supported"</span> );} 
    87 <a name="l00045"></a>00045         <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1MemDS.html#9a7f17598fe2b458707ba932865beef5" title="Accepts action variable and schedule it for application.">write</a> ( vec &amp;ut,ivec &amp;indices ) {<a class="code" href="group__errorhandlingfunc.html#g22d38e98332f9edff88cc501463eedce" title="Abort unconditionally.">it_error</a> ( <span class="stringliteral">"MemDS::write is not supported"</span> );} 
     86<a name="l00044"></a><a class="code" href="classbdm_1_1MemDS.html#9a7f17598fe2b458707ba932865beef5">00044</a>         <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1MemDS.html#9a7f17598fe2b458707ba932865beef5" title="Accepts action variable and schedule it for application.">write</a> ( vec &amp;ut ) {it_error ( <span class="stringliteral">"MemDS::write is not supported"</span> );} 
     87<a name="l00045"></a>00045         <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1MemDS.html#9a7f17598fe2b458707ba932865beef5" title="Accepts action variable and schedule it for application.">write</a> ( vec &amp;ut,ivec &amp;indices ) {it_error ( <span class="stringliteral">"MemDS::write is not supported"</span> );} 
    8888<a name="l00046"></a>00046         <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1MemDS.html#21916feb3e5ff960855c09b06a0d279b" title="Moves from  to , i.e. perfroms the actions and reads response of the system.">step</a>(); 
    8989<a name="l00048"></a><a class="code" href="classbdm_1_1MemDS.html#1ea231f4066652996cde4826560d93e3">00048</a>         <a class="code" href="classbdm_1_1MemDS.html#1ea231f4066652996cde4826560d93e3" title="Default constructor.">MemDS</a> () {}; 
     
    9595<a name="l00057"></a>00057 <span class="keyword">public</span>: 
    9696<a name="l00058"></a><a class="code" href="classbdm_1_1FileDS.html#0bf36650e9d1af2d0743ffe8a3fcff14">00058</a>         <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1FileDS.html#0bf36650e9d1af2d0743ffe8a3fcff14" title="Returns full vector of observed data=[output, input].">getdata</a> ( vec &amp;dt ) { 
    97 <a name="l00059"></a>00059                 <a class="code" href="group__errorhandlingfunc.html#gb319550e696ee9d824d23c2a176bc3a6" title="Abort if t is not true and NDEBUG is not defined.">it_assert_debug</a> ( dt.length() ==<a class="code" href="classbdm_1_1MemDS.html#a724f4cbfc32e79bacc044253234e260" title="internal matrix of data">Data</a>.rows(),<span class="stringliteral">""</span> ); 
     97<a name="l00059"></a>00059                 it_assert_debug ( dt.length() ==<a class="code" href="classbdm_1_1MemDS.html#a724f4cbfc32e79bacc044253234e260" title="internal matrix of data">Data</a>.rows(),<span class="stringliteral">""</span> ); 
    9898<a name="l00060"></a>00060                 dt = <a class="code" href="classbdm_1_1MemDS.html#a724f4cbfc32e79bacc044253234e260" title="internal matrix of data">Data</a>.get_col(<a class="code" href="classbdm_1_1MemDS.html#681ee3831f68f4f20ed54e04e8b3f107" title="active column in the Data matrix">time</a>); 
    9999<a name="l00061"></a>00061         }; 
    100100<a name="l00062"></a><a class="code" href="classbdm_1_1FileDS.html#ed680c40e53fd838c044dc223421c0fe">00062</a>         <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1FileDS.html#ed680c40e53fd838c044dc223421c0fe" title="Returns data records at indeces.">getdata</a> ( vec &amp;dt, <span class="keyword">const</span> ivec &amp;indeces ){ 
    101 <a name="l00063"></a>00063                 <a class="code" href="group__errorhandlingfunc.html#gb319550e696ee9d824d23c2a176bc3a6" title="Abort if t is not true and NDEBUG is not defined.">it_assert_debug</a> ( dt.length() ==indeces.length(),<span class="stringliteral">""</span> ); 
     101<a name="l00063"></a>00063                 it_assert_debug ( dt.length() ==indeces.length(),<span class="stringliteral">""</span> ); 
    102102<a name="l00064"></a>00064                 vec tmp(indeces.length()); 
    103103<a name="l00065"></a>00065                 tmp = <a class="code" href="classbdm_1_1MemDS.html#a724f4cbfc32e79bacc044253234e260" title="internal matrix of data">Data</a>.get_col(<a class="code" href="classbdm_1_1MemDS.html#681ee3831f68f4f20ed54e04e8b3f107" title="active column in the Data matrix">time</a>); 
     
    113113<a name="l00084"></a>00084 <span class="keyword">public</span>: 
    114114<a name="l00085"></a>00085         <a class="code" href="classbdm_1_1ITppFileDS.html" title="Read Data Matrix from an IT file.">ITppFileDS</a> ( <span class="keyword">const</span> <span class="keywordtype">string</span> &amp;fname, <span class="keyword">const</span> <span class="keywordtype">string</span> &amp;varname ) :<a class="code" href="classbdm_1_1FileDS.html">FileDS</a>() { 
    115 <a name="l00086"></a>00086                 <a class="code" href="classitpp_1_1it__file.html" title="The IT++ file format reading and writing class.">it_file</a> it ( fname ); 
    116 <a name="l00087"></a>00087                 it &lt;&lt; <a class="code" href="classitpp_1_1Name.html" title="Automatic naming when savingAn easy way to give a variable a name and optionally...">Name</a> ( varname );  
     115<a name="l00086"></a>00086                 it_file it ( fname ); 
     116<a name="l00087"></a>00087                 it &lt;&lt; Name ( varname );  
    117117<a name="l00088"></a>00088                 it &gt;&gt; <a class="code" href="classbdm_1_1MemDS.html#a724f4cbfc32e79bacc044253234e260" title="internal matrix of data">Data</a>; 
    118118<a name="l00089"></a>00089                 <a class="code" href="classbdm_1_1MemDS.html#681ee3831f68f4f20ed54e04e8b3f107" title="active column in the Data matrix">time</a> = 0; 
     
    147147<a name="l00138"></a>00138         }; 
    148148<a name="l00139"></a><a class="code" href="classbdm_1_1ArxDS.html#701151418bc5fc3861acef8359fb0d80">00139</a>         <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1ArxDS.html#701151418bc5fc3861acef8359fb0d80" title="Returns data records at indeces.">getdata</a> ( vec &amp;dt, <span class="keyword">const</span> ivec &amp;indices ) { 
    149 <a name="l00140"></a>00140                 <a class="code" href="group__errorhandlingfunc.html#gb319550e696ee9d824d23c2a176bc3a6" title="Abort if t is not true and NDEBUG is not defined.">it_assert_debug</a> ( dt.length() ==indices.length(),<span class="stringliteral">"ArxDS"</span> ); 
     149<a name="l00140"></a>00140                 it_assert_debug ( dt.length() ==indices.length(),<span class="stringliteral">"ArxDS"</span> ); 
    150150<a name="l00141"></a>00141                 dt=<a class="code" href="classbdm_1_1ArxDS.html#a11a3f3fbeea1d17b66b073017964597" title="History, ordered as .">H</a> ( indices ); 
    151151<a name="l00142"></a>00142         }; 
     
    155155<a name="l00146"></a>00146         }; 
    156156<a name="l00147"></a><a class="code" href="classbdm_1_1ArxDS.html#477fd706639535f520e9dbbd19f73318">00147</a>         <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1ArxDS.html#477fd706639535f520e9dbbd19f73318" title="Accepts action variables at specific indeces.">write</a> ( vec &amp;ut, <span class="keyword">const</span> ivec &amp;indices ) { 
    157 <a name="l00148"></a>00148                 <a class="code" href="group__errorhandlingfunc.html#gb319550e696ee9d824d23c2a176bc3a6" title="Abort if t is not true and NDEBUG is not defined.">it_assert_debug</a> ( ut.length() ==indices.length(),<span class="stringliteral">"ArxDS"</span> ); 
     157<a name="l00148"></a>00148                 it_assert_debug ( ut.length() ==indices.length(),<span class="stringliteral">"ArxDS"</span> ); 
    158158<a name="l00149"></a>00149                 set_subvector ( <a class="code" href="classbdm_1_1ArxDS.html#392b87be85675cb3d55fa4953d671bb5" title="(future) input">U</a>, indices,ut ); 
    159159<a name="l00150"></a>00150         }; 
     
    227227<a name="l00228"></a>00228         }; 
    228228<a name="l00229"></a>00229  
    229 <a name="l00230"></a>00230         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="group__logexpfunc.html#g1b295e7695ab2a3290bfadb26a149304" title="Safe substitute for log(exp(log_a) + exp(log_b)).">log_add</a> ( logger &amp;L ) { 
    230 <a name="l00231"></a>00231                 <a class="code" href="group__logexpfunc.html#g1b295e7695ab2a3290bfadb26a149304" title="Safe substitute for log(exp(log_a) + exp(log_b)).">DS::log_add</a> ( L ); 
     229<a name="l00230"></a>00230         <span class="keyword">virtual</span> <span class="keywordtype">void</span> log_add ( logger &amp;L ) { 
     230<a name="l00231"></a>00231                 <a class="code" href="classbdm_1_1DS.html#3c9e417d85052396fe74c164857ee67e" title="Register DS for logging into logger L.">DS::log_add</a> ( L ); 
    231231<a name="l00232"></a>00232                 L_xt=L.add ( IM-&gt;_rv(),<span class="stringliteral">"true"</span> ); 
    232232<a name="l00233"></a>00233         } 
     
    242242<a name="l00243"></a>00243 <span class="preprocessor">#endif // DS_H</span> 
    243243</pre></div></div> 
    244 <hr size="1"><address style="text-align: right;"><small>Generated on Tue Jun 2 10:02:11 2009 for mixpp by&nbsp; 
     244<hr size="1"><address style="text-align: right;"><small>Generated on Tue Jun 2 10:11:00 2009 for mixpp by&nbsp; 
    245245<a href="http://www.doxygen.org/index.html"> 
    246246<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>