root/doc/html/libDS_8h-source.html @ 84

Revision 79, 4.7 kB (checked in by smidl, 17 years ago)

oprava dokumentace

Line 
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/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.3 -->
8<div class="tabs">
9  <ul>
10    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
11    <li><a href="annotated.html"><span>Classes</span></a></li>
12    <li class="current"><a href="files.html"><span>Files</span></a></li>
13    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
14  </ul>
15</div>
16<h1>work/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
17<a name="l00013"></a>00013 <span class="preprocessor">#ifndef DS_H</span>
18<a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define DS_H</span>
19<a name="l00015"></a>00015 <span class="preprocessor"></span>
20<a name="l00016"></a>00016 <span class="preprocessor">#include &lt;itpp/itbase.h&gt;</span>
21<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>
22<a name="l00018"></a>00018
23<a name="l00019"></a>00019 <span class="keyword">using namespace </span>itpp;
24<a name="l00020"></a>00020
25<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> {
26<a name="l00029"></a>00029 mat Data;
27<a name="l00030"></a>00030 <span class="keywordtype">int</span> time;
28<a name="l00031"></a>00031 ivec rowid;
29<a name="l00032"></a>00032 ivec delays;
30<a name="l00033"></a>00033
31<a name="l00034"></a>00034 <span class="keyword">public</span>:
32<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);
33<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);
34<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);
35<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>);}
36<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>);}
37<a name="l00040"></a>00040         <span class="keywordtype">void</span> <a class="code" href="classMemDS.html#21916feb3e5ff960855c09b06a0d279b" title="Moves from $t$ to $t+1$, i.e. perfroms the actions and reads response of the system...">step</a>();
38<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);
39<a name="l00043"></a>00043 };
40<a name="l00044"></a>00044
41<a name="l00045"></a>00045
42<a name="l00046"></a>00046
43<a name="l00047"></a>00047 <span class="preprocessor">#endif // DS_H</span>
44</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 18 11:15:15 2008 for mixpp by&nbsp;
45<a href="http://www.doxygen.org/index.html">
46<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
47</body>
48</html>
Note: See TracBrowser for help on using the browser.