Show
Ignore:
Timestamp:
01/28/09 10:01:09 (16 years ago)
Author:
smidl
Message:

doc

Files:
1 modified

Legend:

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

    r234 r255  
    2323<a name="l00017"></a>00017 <span class="preprocessor">#include "<a class="code" href="libBM_8h.html" title="Bayesian Models (bm) that use Bayes rule to learn from observations.">libBM.h</a>"</span> 
    2424<a name="l00018"></a>00018  
    25 <a name="l00019"></a>00019 <span class="keyword">using namespace </span>itpp; 
    26 <a name="l00020"></a>00020  
    27 <a name="l00028"></a><a class="code" href="classMemDS.html">00028</a> <span class="keyword">class </span><a class="code" href="classMemDS.html" title="Class representing off-line data stored in memory.">MemDS</a> : <span class="keyword">public</span> <a class="code" href="classDS.html" title="Abstract class for discrete-time sources of data.">DS</a> { 
    28 <a name="l00029"></a>00029 mat Data; 
    29 <a name="l00030"></a>00030 <span class="keywordtype">int</span> time; 
    30 <a name="l00031"></a>00031 ivec rowid; 
    31 <a name="l00032"></a>00032 ivec delays; 
    32 <a name="l00033"></a>00033  
    33 <a name="l00034"></a>00034 <span class="keyword">public</span>: 
    34 <a name="l00035"></a>00035         <span class="keywordtype">void</span> <a class="code" href="classMemDS.html#23522b9e7dd0bb0c365cc9cde4c05449" title="Returns full vector of observed data.">getdata</a>(vec &amp;dt); 
    35 <a name="l00036"></a>00036         <span class="keywordtype">void</span> <a class="code" href="classMemDS.html#23522b9e7dd0bb0c365cc9cde4c05449" title="Returns full vector of observed data.">getdata</a>(vec &amp;dt, ivec &amp;indeces); 
    36 <a name="l00037"></a>00037         <span class="keywordtype">void</span> <a class="code" href="classMemDS.html#5f72b555e0e4a61de1440c457cf57007" title="Method that assigns random variables to the datasource. Typically, the datasource...">linkrvs</a>(<a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;drv, <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;urv); 
    37 <a name="l00038"></a><a class="code" href="classMemDS.html#b120ed178f7c848f1227c928d8a79be8">00038</a>         <span class="keywordtype">void</span> <a class="code" href="classMemDS.html#b120ed178f7c848f1227c928d8a79be8" 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>);} 
    38 <a name="l00039"></a><a class="code" href="classMemDS.html#6279bf18d44343750747ecc12e050f09">00039</a>         <span class="keywordtype">void</span> <a class="code" href="classMemDS.html#b120ed178f7c848f1227c928d8a79be8" title="Accepts action variable and schedule it for application.">write</a>(vec &amp;ut,ivec &amp;indexes){it_error(<span class="stringliteral">"MemDS::write is not supported"</span>);} 
    39 <a name="l00040"></a>00040         <span class="keywordtype">void</span> <a class="code" href="classMemDS.html#21916feb3e5ff960855c09b06a0d279b" title="Moves from  to , i.e. perfroms the actions and reads response of the system.">step</a>(); 
    40 <a name="l00042"></a>00042         <a class="code" href="classMemDS.html#84cfba80cb32d07be94690658175e9c4" title="Default constructor.">MemDS</a>(mat &amp;Dat, ivec &amp;rowid, ivec &amp;delays); 
    41 <a name="l00043"></a>00043 }; 
    42 <a name="l00044"></a>00044  
     25<a name="l00019"></a>00019 <span class="keyword">namespace </span>bdm{ 
     26<a name="l00027"></a><a class="code" href="classbdm_1_1MemDS.html">00027</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1MemDS.html" title="Class representing off-line data stored in memory.">MemDS</a> : <span class="keyword">public</span> <a class="code" href="classbdm_1_1DS.html" title="Abstract class for discrete-time sources of data.">DS</a> { 
     27<a name="l00028"></a>00028 mat Data; 
     28<a name="l00029"></a>00029 <span class="keywordtype">int</span> time; 
     29<a name="l00030"></a>00030 ivec rowid; 
     30<a name="l00031"></a>00031 ivec delays; 
     31<a name="l00032"></a>00032  
     32<a name="l00033"></a>00033 <span class="keyword">public</span>: 
     33<a name="l00034"></a>00034         <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1MemDS.html#23522b9e7dd0bb0c365cc9cde4c05449" title="Returns full vector of observed data.">getdata</a>(vec &amp;dt); 
     34<a name="l00035"></a>00035         <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1MemDS.html#23522b9e7dd0bb0c365cc9cde4c05449" title="Returns full vector of observed data.">getdata</a>(vec &amp;dt, ivec &amp;indeces); 
     35<a name="l00036"></a>00036         <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1MemDS.html#5f72b555e0e4a61de1440c457cf57007" title="Method that assigns random variables to the datasource. Typically, the datasource...">linkrvs</a>(<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); 
     36<a name="l00037"></a><a class="code" href="classbdm_1_1MemDS.html#9a7f17598fe2b458707ba932865beef5">00037</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>);} 
     37<a name="l00038"></a><a class="code" href="classbdm_1_1MemDS.html#d9af4563d430d8a3f15aa03581e52ef0">00038</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,ivec &amp;indexes){it_error(<span class="stringliteral">"MemDS::write is not supported"</span>);} 
     38<a name="l00039"></a>00039         <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>(); 
     39<a name="l00041"></a>00041         <a class="code" href="classbdm_1_1MemDS.html#84cfba80cb32d07be94690658175e9c4" title="Default constructor.">MemDS</a>(mat &amp;Dat, ivec &amp;rowid, ivec &amp;delays); 
     40<a name="l00042"></a>00042 }; 
     41<a name="l00043"></a>00043  
     42<a name="l00044"></a>00044 }; <span class="comment">//namespace</span> 
    4343<a name="l00045"></a>00045  
    44 <a name="l00046"></a>00046  
    45 <a name="l00047"></a>00047 <span class="preprocessor">#endif // DS_H</span> 
     44<a name="l00046"></a>00046 <span class="preprocessor">#endif // DS_H</span> 
    4645</pre></div></div> 
    47 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Jan 15 10:50:25 2009 for mixpp by&nbsp; 
     46<hr size="1"><address style="text-align: right;"><small>Generated on Tue Jan 27 16:29:53 2009 for mixpp by&nbsp; 
    4847<a href="http://www.doxygen.org/index.html"> 
    4948<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>