root/doc/html/classMemDS.html @ 79

Revision 79, 9.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: MemDS Class Reference</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 class="current"><a href="annotated.html"><span>Classes</span></a></li>
12    <li><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<div class="tabs">
17  <ul>
18    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
19    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
20    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
21  </ul>
22</div>
23<h1>MemDS Class Reference</h1><!-- doxytag: class="MemDS" --><!-- doxytag: inherits="DS" -->Class representing off-line data stored in memory. 
24<a href="#_details">More...</a>
25<p>
26<code>#include &lt;<a class="el" href="libDS_8h-source.html">libDS.h</a>&gt;</code>
27<p>
28<div class="dynheader">
29Inheritance diagram for MemDS:</div>
30<div class="dynsection">
31<p><center><img src="classMemDS__inherit__graph.png" border="0" usemap="#MemDS__inherit__map" alt="Inheritance graph"></center>
32<map name="MemDS__inherit__map">
33<area shape="rect" href="classDS.html" title="Abstract class for discrete&#45;time sources of data." alt="" coords="23,7,63,33"></map>
34<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
35<div class="dynheader">
36Collaboration diagram for MemDS:</div>
37<div class="dynsection">
38<p><center><img src="classMemDS__coll__graph.png" border="0" usemap="#MemDS__coll__map" alt="Collaboration graph"></center>
39<map name="MemDS__coll__map">
40<area shape="rect" href="classDS.html" title="Abstract class for discrete&#45;time sources of data." alt="" coords="23,119,63,145"><area shape="rect" href="classRV.html" title="Class representing variables, most often random variables." alt="" coords="24,7,61,33"><area shape="rect" title="Urv\nDrv" alt="" coords="39,31,47,39"><area shape="rect" title="Urv\nDrv" alt="" coords="39,115,47,123"></map>
41<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
42
43<p>
44<a href="classMemDS-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
45<tr><td></td></tr>
46<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
47<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="23522b9e7dd0bb0c365cc9cde4c05449"></a><!-- doxytag: member="MemDS::getdata" ref="23522b9e7dd0bb0c365cc9cde4c05449" args="(vec &amp;dt)" -->
48void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMemDS.html#23522b9e7dd0bb0c365cc9cde4c05449">getdata</a> (vec &amp;dt)</td></tr>
49
50<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns full vector of observed data. <br></td></tr>
51<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="900f1e1c9eb950f87e557c068628e60e"></a><!-- doxytag: member="MemDS::getdata" ref="900f1e1c9eb950f87e557c068628e60e" args="(vec &amp;dt, ivec &amp;indeces)" -->
52void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMemDS.html#900f1e1c9eb950f87e557c068628e60e">getdata</a> (vec &amp;dt, ivec &amp;indeces)</td></tr>
53
54<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns data records at indeces. <br></td></tr>
55<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMemDS.html#5f72b555e0e4a61de1440c457cf57007">linkrvs</a> (<a class="el" href="classRV.html">RV</a> &amp;drv, <a class="el" href="classRV.html">RV</a> &amp;urv)</td></tr>
56
57<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Method that assigns random variables to the datasource. Typically, the datasource will be constructed without knowledge of random variables. This method will associate existing variables with RVs.  <a href="#5f72b555e0e4a61de1440c457cf57007"></a><br></td></tr>
58<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b120ed178f7c848f1227c928d8a79be8"></a><!-- doxytag: member="MemDS::write" ref="b120ed178f7c848f1227c928d8a79be8" args="(vec &amp;ut)" -->
59void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMemDS.html#b120ed178f7c848f1227c928d8a79be8">write</a> (vec &amp;ut)</td></tr>
60
61<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Accepts action variable and schedule it for application. <br></td></tr>
62<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6279bf18d44343750747ecc12e050f09"></a><!-- doxytag: member="MemDS::write" ref="6279bf18d44343750747ecc12e050f09" args="(vec &amp;ut, ivec &amp;indexes)" -->
63void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMemDS.html#6279bf18d44343750747ecc12e050f09">write</a> (vec &amp;ut, ivec &amp;indexes)</td></tr>
64
65<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Accepts action variables at specific indeces. <br></td></tr>
66<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="21916feb3e5ff960855c09b06a0d279b"></a><!-- doxytag: member="MemDS::step" ref="21916feb3e5ff960855c09b06a0d279b" args="()" -->
67void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMemDS.html#21916feb3e5ff960855c09b06a0d279b">step</a> ()</td></tr>
68
69<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Moves from $t$ to $t+1$, i.e. perfroms the actions and reads response of the system. <br></td></tr>
70<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="84cfba80cb32d07be94690658175e9c4"></a><!-- doxytag: member="MemDS::MemDS" ref="84cfba80cb32d07be94690658175e9c4" args="(mat &amp;Dat, ivec &amp;rowid, ivec &amp;delays)" -->
71&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMemDS.html#84cfba80cb32d07be94690658175e9c4">MemDS</a> (mat &amp;Dat, ivec &amp;rowid, ivec &amp;delays)</td></tr>
72
73<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor. <br></td></tr>
74<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
75<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1012025a1a3a1fdd24aa48698a3d3454"></a><!-- doxytag: member="MemDS::Drv" ref="1012025a1a3a1fdd24aa48698a3d3454" args="" -->
76<a class="el" href="classRV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDS.html#1012025a1a3a1fdd24aa48698a3d3454">Drv</a></td></tr>
77
78<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Observed variables, returned by <code><a class="el" href="classDS.html#db2dacc9e71a36eeb9c5c2ee402eeeb1" title="Returns full vector of observed data.">getdata()</a></code>. <br></td></tr>
79<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0a88ffaeb3c7c2cf30c69bc41a000629"></a><!-- doxytag: member="MemDS::Urv" ref="0a88ffaeb3c7c2cf30c69bc41a000629" args="" -->
80<a class="el" href="classRV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDS.html#0a88ffaeb3c7c2cf30c69bc41a000629">Urv</a></td></tr>
81
82<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Action variables, accepted by <code><a class="el" href="classDS.html#0dfb6788b70c0d48a1f5276ed6c93039" title="Accepts action variable and schedule it for application.">write()</a></code>. <br></td></tr>
83</table>
84<hr><a name="_details"></a><h2>Detailed Description</h2>
85Class representing off-line data stored in memory.
86<p>
87The data are stored in an internal matrix <code>Data</code> . Each column of Data corresponds to one discrete time observation $t$. Access to this matrix is via indexes <code>rowid</code> and <code>delays</code>.<p>
88The data can be loaded from a file. <hr><h2>Member Function Documentation</h2>
89<a class="anchor" name="5f72b555e0e4a61de1440c457cf57007"></a><!-- doxytag: member="MemDS::linkrvs" ref="5f72b555e0e4a61de1440c457cf57007" args="(RV &amp;drv, RV &amp;urv)" -->
90<div class="memitem">
91<div class="memproto">
92      <table class="memname">
93        <tr>
94          <td class="memname">void MemDS::linkrvs           </td>
95          <td>(</td>
96          <td class="paramtype"><a class="el" href="classRV.html">RV</a> &amp;&nbsp;</td>
97          <td class="paramname"> <em>drv</em>, </td>
98        </tr>
99        <tr>
100          <td class="paramkey"></td>
101          <td></td>
102          <td class="paramtype"><a class="el" href="classRV.html">RV</a> &amp;&nbsp;</td>
103          <td class="paramname"> <em>urv</em></td><td>&nbsp;</td>
104        </tr>
105        <tr>
106          <td></td>
107          <td>)</td>
108          <td></td><td></td><td width="100%"></td>
109        </tr>
110      </table>
111</div>
112<div class="memdoc">
113
114<p>
115Method that assigns random variables to the datasource. Typically, the datasource will be constructed without knowledge of random variables. This method will associate existing variables with RVs.
116<p>
117(Inherited from m3k, may be deprecated soon).
118<p>Reimplemented from <a class="el" href="classDS.html#9a35ca9c9321dce2bf63bf668f785b75">DS</a>.</p>
119
120</div>
121</div><p>
122<hr>The documentation for this class was generated from the following files:<ul>
123<li>work/mixpp/bdm/stat/<a class="el" href="libDS_8h-source.html">libDS.h</a><li>work/mixpp/bdm/stat/libDS.cpp</ul>
124<hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 18 11:15:21 2008 for mixpp by&nbsp;
125<a href="http://www.doxygen.org/index.html">
126<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
127</body>
128</html>
Note: See TracBrowser for help on using the browser.