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: work/git/mixpp/bdm/stat/libDS.h Source File</title> |
---|
4 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
5 | <link href="tabs.css" rel="stylesheet" type="text/css"> |
---|
6 | </head><body> |
---|
7 | <!-- Generated by Doxygen 1.5.6 --> |
---|
8 | <div class="navigation" id="top"> |
---|
9 | <div class="tabs"> |
---|
10 | <ul> |
---|
11 | <li><a href="index.html"><span>Main Page</span></a></li> |
---|
12 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
13 | <li><a href="annotated.html"><span>Classes</span></a></li> |
---|
14 | <li class="current"><a href="files.html"><span>Files</span></a></li> |
---|
15 | </ul> |
---|
16 | </div> |
---|
17 | <h1>work/git/mixpp/bdm/stat/libDS.h</h1><a href="libDS_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 |
---|
18 | <a name="l00013"></a>00013 <span class="preprocessor">#ifndef DS_H</span> |
---|
19 | <a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define DS_H</span> |
---|
20 | <a name="l00015"></a>00015 <span class="preprocessor"></span> |
---|
21 | <a name="l00016"></a>00016 <span class="preprocessor">#include <itpp/itbase.h></span> |
---|
22 | <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> |
---|
23 | <a name="l00018"></a>00018 |
---|
24 | <a name="l00019"></a>00019 <span class="keyword">using namespace </span>itpp; |
---|
25 | <a name="l00020"></a>00020 |
---|
26 | <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> { |
---|
27 | <a name="l00029"></a>00029 mat Data; |
---|
28 | <a name="l00030"></a>00030 <span class="keywordtype">int</span> time; |
---|
29 | <a name="l00031"></a>00031 ivec rowid; |
---|
30 | <a name="l00032"></a>00032 ivec delays; |
---|
31 | <a name="l00033"></a>00033 |
---|
32 | <a name="l00034"></a>00034 <span class="keyword">public</span>: |
---|
33 | <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 &dt); |
---|
34 | <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 &dt, ivec &indeces); |
---|
35 | <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> &drv, <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &urv); |
---|
36 | <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 &ut){it_error(<span class="stringliteral">"MemDS::write is not supported"</span>);} |
---|
37 | <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 &ut,ivec &indexes){it_error(<span class="stringliteral">"MemDS::write is not supported"</span>);} |
---|
38 | <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>(); |
---|
39 | <a name="l00042"></a>00042 <a class="code" href="classMemDS.html#84cfba80cb32d07be94690658175e9c4" title="Default constructor.">MemDS</a>(mat &Dat, ivec &rowid, ivec &delays); |
---|
40 | <a name="l00043"></a>00043 }; |
---|
41 | <a name="l00044"></a>00044 |
---|
42 | <a name="l00045"></a>00045 |
---|
43 | <a name="l00046"></a>00046 |
---|
44 | <a name="l00047"></a>00047 <span class="preprocessor">#endif // DS_H</span> |
---|
45 | </pre></div></div> |
---|
46 | <hr size="1"><address style="text-align: right;"><small>Generated on Sat Aug 16 17:22:03 2008 for mixpp by |
---|
47 | <a href="http://www.doxygen.org/index.html"> |
---|
48 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> |
---|
49 | </body> |
---|
50 | </html> |
---|