root/doc/html/classDS.html @ 24

Revision 23, 8.9 kB (checked in by smidl, 16 years ago)

doxy

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: DS 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  </ul>
14</div>
15<div class="tabs">
16  <ul>
17    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
18    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
19    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
20  </ul>
21</div>
22<h1>DS Class Reference</h1><!-- doxytag: class="DS" -->Abstract class for discrete-time sources of data. 
23<a href="#_details">More...</a>
24<p>
25<code>#include &lt;<a class="el" href="libBM_8h-source.html">libBM.h</a>&gt;</code>
26<p>
27<div class="dynheader">
28Inheritance diagram for DS:</div>
29<div class="dynsection">
30<p><center><img src="classDS__inherit__graph.png" border="0" usemap="#DS__inherit__map" alt="Inheritance graph"></center>
31<map name="DS__inherit__map">
32<area shape="rect" href="classMemDS.html" title="Class representing off&#45;line data stored in memory." alt="" coords="5,84,80,111"></map>
33<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
34<div class="dynheader">
35Collaboration diagram for DS:</div>
36<div class="dynsection">
37<p><center><img src="classDS__coll__graph.png" border="0" usemap="#DS__coll__map" alt="Collaboration graph"></center>
38<map name="DS__coll__map">
39<area shape="rect" href="classRV.html" title="Class representing variables, most often random variables." alt="" coords="7,7,44,33"><area shape="rect" title="Urv\nDrv" alt="" coords="21,31,29,39"><area shape="rect" title="Urv\nDrv" alt="" coords="21,115,29,123"></map>
40<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
41
42<p>
43<a href="classDS-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
44<tr><td></td></tr>
45<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
46<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="db2dacc9e71a36eeb9c5c2ee402eeeb1"></a><!-- doxytag: member="DS::getdata" ref="db2dacc9e71a36eeb9c5c2ee402eeeb1" args="(vec &amp;dt)" -->
47void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDS.html#db2dacc9e71a36eeb9c5c2ee402eeeb1">getdata</a> (vec &amp;dt)</td></tr>
48
49<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns full vector of observed data. <br></td></tr>
50<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4027575bc66ea358f9b03dd3be28fe1e"></a><!-- doxytag: member="DS::getdata" ref="4027575bc66ea358f9b03dd3be28fe1e" args="(vec &amp;dt, ivec &amp;indeces)" -->
51void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDS.html#4027575bc66ea358f9b03dd3be28fe1e">getdata</a> (vec &amp;dt, ivec &amp;indeces)</td></tr>
52
53<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns data records at indeces. <br></td></tr>
54<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0dfb6788b70c0d48a1f5276ed6c93039"></a><!-- doxytag: member="DS::write" ref="0dfb6788b70c0d48a1f5276ed6c93039" args="(vec &amp;ut)" -->
55void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDS.html#0dfb6788b70c0d48a1f5276ed6c93039">write</a> (vec &amp;ut)</td></tr>
56
57<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Accepts action variable and schedule it for application. <br></td></tr>
58<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f4ae51a3bc1267a6a52fc229973afe85"></a><!-- doxytag: member="DS::write" ref="f4ae51a3bc1267a6a52fc229973afe85" args="(vec &amp;ut, ivec &amp;indeces)" -->
59void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDS.html#f4ae51a3bc1267a6a52fc229973afe85">write</a> (vec &amp;ut, ivec &amp;indeces)</td></tr>
60
61<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Accepts action variables at specific indeces. <br></td></tr>
62<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDS.html#9a35ca9c9321dce2bf63bf668f785b75">linkrvs</a> (<a class="el" href="classRV.html">RV</a> &amp;drv, <a class="el" href="classRV.html">RV</a> &amp;urv)</td></tr>
63
64<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="#9a35ca9c9321dce2bf63bf668f785b75"></a><br></td></tr>
65<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="470ba89e8e7c3c4d830803221b4e9be6"></a><!-- doxytag: member="DS::step" ref="470ba89e8e7c3c4d830803221b4e9be6" args="()" -->
66void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDS.html#470ba89e8e7c3c4d830803221b4e9be6">step</a> ()</td></tr>
67
68<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>
69<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
70<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1012025a1a3a1fdd24aa48698a3d3454"></a><!-- doxytag: member="DS::Drv" ref="1012025a1a3a1fdd24aa48698a3d3454" args="" -->
71<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>
72
73<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>
74<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0a88ffaeb3c7c2cf30c69bc41a000629"></a><!-- doxytag: member="DS::Urv" ref="0a88ffaeb3c7c2cf30c69bc41a000629" args="" -->
75<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>
76
77<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>
78</table>
79<hr><a name="_details"></a><h2>Detailed Description</h2>
80Abstract class for discrete-time sources of data.
81<p>
82The class abstracts operations of: (i) data aquisition, (ii) data-preprocessing, (iii) scaling of data, and (iv) data resampling from the task of estimation and control. Moreover, for controlled systems, it is able to receive the desired control action and perform it in the next step. (Or as soon as possible). <hr><h2>Member Function Documentation</h2>
83<a class="anchor" name="9a35ca9c9321dce2bf63bf668f785b75"></a><!-- doxytag: member="DS::linkrvs" ref="9a35ca9c9321dce2bf63bf668f785b75" args="(RV &amp;drv, RV &amp;urv)" -->
84<div class="memitem">
85<div class="memproto">
86      <table class="memname">
87        <tr>
88          <td class="memname">void DS::linkrvs           </td>
89          <td>(</td>
90          <td class="paramtype"><a class="el" href="classRV.html">RV</a> &amp;&nbsp;</td>
91          <td class="paramname"> <em>drv</em>, </td>
92        </tr>
93        <tr>
94          <td class="paramkey"></td>
95          <td></td>
96          <td class="paramtype"><a class="el" href="classRV.html">RV</a> &amp;&nbsp;</td>
97          <td class="paramname"> <em>urv</em></td><td>&nbsp;</td>
98        </tr>
99        <tr>
100          <td></td>
101          <td>)</td>
102          <td></td><td></td><td width="100%"></td>
103        </tr>
104      </table>
105</div>
106<div class="memdoc">
107
108<p>
109Method 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.
110<p>
111(Inherited from m3k, may be deprecated soon).
112<p>Reimplemented in <a class="el" href="classMemDS.html#5f72b555e0e4a61de1440c457cf57007">MemDS</a>.</p>
113
114</div>
115</div><p>
116<hr>The documentation for this class was generated from the following file:<ul>
117<li>work/mixpp/bdm/stat/<a class="el" href="libBM_8h-source.html">libBM.h</a></ul>
118<hr size="1"><address style="text-align: right;"><small>Generated on Sun Feb 17 16:14:17 2008 for mixpp by&nbsp;
119<a href="http://www.doxygen.org/index.html">
120<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
121</body>
122</html>
Note: See TracBrowser for help on using the browser.