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: bdm::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.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="modules.html"><span>Modules</span></a></li> |
---|
14 | <li><a href="namespaces.html"><span>Namespaces</span></a></li> |
---|
15 | <li class="current"><a href="classes.html"><span>Classes</span></a></li> |
---|
16 | <li><a href="files.html"><span>Files</span></a></li> |
---|
17 | </ul> |
---|
18 | </div> |
---|
19 | <div class="tabs"> |
---|
20 | <ul> |
---|
21 | <li><a href="classes.html"><span>Alphabetical List</span></a></li> |
---|
22 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
23 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
24 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
25 | </ul> |
---|
26 | </div> |
---|
27 | <div class="navpath"><a class="el" href="namespacebdm.html">bdm</a>::<a class="el" href="classbdm_1_1MemDS.html">MemDS</a> |
---|
28 | </div> |
---|
29 | </div> |
---|
30 | <div class="contents"> |
---|
31 | <h1>bdm::MemDS Class Reference</h1><!-- doxytag: class="bdm::MemDS" --><!-- doxytag: inherits="bdm::DS" --><code>#include <<a class="el" href="libDS_8h-source.html">libDS.h</a>></code> |
---|
32 | <p> |
---|
33 | <div class="dynheader"> |
---|
34 | Inheritance diagram for bdm::MemDS:</div> |
---|
35 | <div class="dynsection"> |
---|
36 | <p><center><img src="classbdm_1_1MemDS__inherit__graph.png" border="0" usemap="#bdm_1_1MemDS__inherit__map" alt="Inheritance graph"></center> |
---|
37 | <map name="bdm_1_1MemDS__inherit__map"> |
---|
38 | <area shape="rect" href="classbdm_1_1DS.html" title="Abstract class for discrete-time sources of data." alt="" coords="23,84,100,111"><area shape="rect" href="classbdm_1_1bdmroot.html" title="Root class of BDM objects." alt="" coords="5,7,117,33"></map> |
---|
39 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
40 | |
---|
41 | <p> |
---|
42 | <a href="classbdm_1_1MemDS-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
43 | Memory storage of off-line data column-wise. |
---|
44 | <p> |
---|
45 | The data are stored in an internal matrix <code>Data</code> . Each column of Data corresponds to one discrete time observation <img class="formulaInl" alt="$t$" src="form_38.png">. Access to this matrix is via indexes <code>rowid</code> and <code>delays</code>.<p> |
---|
46 | The data can be loaded from a file. <table border="0" cellpadding="0" cellspacing="0"> |
---|
47 | <tr><td></td></tr> |
---|
48 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
49 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="23522b9e7dd0bb0c365cc9cde4c05449"></a><!-- doxytag: member="bdm::MemDS::getdata" ref="23522b9e7dd0bb0c365cc9cde4c05449" args="(vec &dt)" --> |
---|
50 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#23522b9e7dd0bb0c365cc9cde4c05449">getdata</a> (vec &dt)</td></tr> |
---|
51 | |
---|
52 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns full vector of observed data=[output, input]. <br></td></tr> |
---|
53 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="62083e1db465a97a2a39fc682addc83d"></a><!-- doxytag: member="bdm::MemDS::getdata" ref="62083e1db465a97a2a39fc682addc83d" args="(vec &dt, const ivec &indeces)" --> |
---|
54 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#62083e1db465a97a2a39fc682addc83d">getdata</a> (vec &dt, const ivec &indeces)</td></tr> |
---|
55 | |
---|
56 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns data records at indeces. <br></td></tr> |
---|
57 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5f72b555e0e4a61de1440c457cf57007"></a><!-- doxytag: member="bdm::MemDS::linkrvs" ref="5f72b555e0e4a61de1440c457cf57007" args="(RV &drv, RV &urv)" --> |
---|
58 | void </td><td class="memItemRight" valign="bottom"><b>linkrvs</b> (<a class="el" href="classbdm_1_1RV.html">RV</a> &drv, <a class="el" href="classbdm_1_1RV.html">RV</a> &urv)</td></tr> |
---|
59 | |
---|
60 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9a7f17598fe2b458707ba932865beef5"></a><!-- doxytag: member="bdm::MemDS::write" ref="9a7f17598fe2b458707ba932865beef5" args="(vec &ut)" --> |
---|
61 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#9a7f17598fe2b458707ba932865beef5">write</a> (vec &ut)</td></tr> |
---|
62 | |
---|
63 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Accepts action variable and schedule it for application. <br></td></tr> |
---|
64 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d9af4563d430d8a3f15aa03581e52ef0"></a><!-- doxytag: member="bdm::MemDS::write" ref="d9af4563d430d8a3f15aa03581e52ef0" args="(vec &ut, ivec &indexes)" --> |
---|
65 | void </td><td class="memItemRight" valign="bottom"><b>write</b> (vec &ut, ivec &indexes)</td></tr> |
---|
66 | |
---|
67 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="21916feb3e5ff960855c09b06a0d279b"></a><!-- doxytag: member="bdm::MemDS::step" ref="21916feb3e5ff960855c09b06a0d279b" args="()" --> |
---|
68 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#21916feb3e5ff960855c09b06a0d279b">step</a> ()</td></tr> |
---|
69 | |
---|
70 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Moves from <img class="formulaInl" alt="$ t $" src="form_110.png"> to <img class="formulaInl" alt="$ t+1 $" src="form_111.png">, i.e. perfroms the actions and reads response of the system. <br></td></tr> |
---|
71 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="84cfba80cb32d07be94690658175e9c4"></a><!-- doxytag: member="bdm::MemDS::MemDS" ref="84cfba80cb32d07be94690658175e9c4" args="(mat &Dat, ivec &rowid, ivec &delays)" --> |
---|
72 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#84cfba80cb32d07be94690658175e9c4">MemDS</a> (mat &Dat, ivec &rowid, ivec &delays)</td></tr> |
---|
73 | |
---|
74 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <br></td></tr> |
---|
75 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6bced13f84f6bf04449728817e049e1d"></a><!-- doxytag: member="bdm::MemDS::write" ref="6bced13f84f6bf04449728817e049e1d" args="(vec &ut, const ivec &indeces)" --> |
---|
76 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#6bced13f84f6bf04449728817e049e1d">write</a> (vec &ut, const ivec &indeces)</td></tr> |
---|
77 | |
---|
78 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Accepts action variables at specific indeces. <br></td></tr> |
---|
79 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3c9e417d85052396fe74c164857ee67e"></a><!-- doxytag: member="bdm::MemDS::log_add" ref="3c9e417d85052396fe74c164857ee67e" args="(logger &L)" --> |
---|
80 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#3c9e417d85052396fe74c164857ee67e">log_add</a> (<a class="el" href="classbdm_1_1logger.html">logger</a> &L)</td></tr> |
---|
81 | |
---|
82 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Register <a class="el" href="classbdm_1_1DS.html" title="Abstract class for discrete-time sources of data.">DS</a> for logging into <a class="el" href="classbdm_1_1logger.html" title="Class for storing results (and semi-results) of an experiment.">logger</a> L. <br></td></tr> |
---|
83 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e03d2c93cddd5c3a03107ddd3ae999cf"></a><!-- doxytag: member="bdm::MemDS::logit" ref="e03d2c93cddd5c3a03107ddd3ae999cf" args="(logger &L)" --> |
---|
84 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#e03d2c93cddd5c3a03107ddd3ae999cf">logit</a> (<a class="el" href="classbdm_1_1logger.html">logger</a> &L)</td></tr> |
---|
85 | |
---|
86 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Register <a class="el" href="classbdm_1_1DS.html" title="Abstract class for discrete-time sources of data.">DS</a> for logging into <a class="el" href="classbdm_1_1logger.html" title="Class for storing results (and semi-results) of an experiment.">logger</a> L. <br></td></tr> |
---|
87 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ed2113851294ed96abe60fc3f05aa660"></a><!-- doxytag: member="bdm::MemDS::_drv" ref="ed2113851294ed96abe60fc3f05aa660" args="() const " --> |
---|
88 | virtual <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#ed2113851294ed96abe60fc3f05aa660">_drv</a> () const </td></tr> |
---|
89 | |
---|
90 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
91 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a6a9a375da64c82fc227bda3418a1f33"></a><!-- doxytag: member="bdm::MemDS::_urv" ref="a6a9a375da64c82fc227bda3418a1f33" args="() const " --> |
---|
92 | const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#a6a9a375da64c82fc227bda3418a1f33">_urv</a> () const </td></tr> |
---|
93 | |
---|
94 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
95 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
---|
96 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f96cae44624e79638a91ec4f2c7c81a9"></a><!-- doxytag: member="bdm::MemDS::dtsize" ref="f96cae44624e79638a91ec4f2c7c81a9" args="" --> |
---|
97 | int </td><td class="memItemRight" valign="bottom"><b>dtsize</b></td></tr> |
---|
98 | |
---|
99 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d7467046a0bd05bc992cc5e1bdedb983"></a><!-- doxytag: member="bdm::MemDS::utsize" ref="d7467046a0bd05bc992cc5e1bdedb983" args="" --> |
---|
100 | int </td><td class="memItemRight" valign="bottom"><b>utsize</b></td></tr> |
---|
101 | |
---|
102 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d8db125ac35f3b8eeb773fc9a4cb45ec"></a><!-- doxytag: member="bdm::MemDS::Drv" ref="d8db125ac35f3b8eeb773fc9a4cb45ec" args="" --> |
---|
103 | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#d8db125ac35f3b8eeb773fc9a4cb45ec">Drv</a></td></tr> |
---|
104 | |
---|
105 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Description of data returned by <code><a class="el" href="classbdm_1_1DS.html#c1ec862dec7164fee3284c6f9a51b0ba" title="Returns full vector of observed data=[output, input].">getdata()</a></code>. <br></td></tr> |
---|
106 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9ac5970128fd39f4f6226723cd1de702"></a><!-- doxytag: member="bdm::MemDS::Urv" ref="9ac5970128fd39f4f6226723cd1de702" args="" --> |
---|
107 | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#9ac5970128fd39f4f6226723cd1de702">Urv</a></td></tr> |
---|
108 | |
---|
109 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Description of data witten by by <code><a class="el" href="classbdm_1_1DS.html#f5baeee8528e5e4c5c7a344b2e3f192a" title="Accepts action variable and schedule it for application.">write()</a></code>. <br></td></tr> |
---|
110 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b4b7bdb9d98a11ab587aa0ad803bb867"></a><!-- doxytag: member="bdm::MemDS::L_dt" ref="b4b7bdb9d98a11ab587aa0ad803bb867" args="" --> |
---|
111 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#b4b7bdb9d98a11ab587aa0ad803bb867">L_dt</a></td></tr> |
---|
112 | |
---|
113 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Remember its own index in Logger L. <br></td></tr> |
---|
114 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b56b74ec21485846ccfad461f33b0e7a"></a><!-- doxytag: member="bdm::MemDS::L_ut" ref="b56b74ec21485846ccfad461f33b0e7a" args="" --> |
---|
115 | int </td><td class="memItemRight" valign="bottom"><b>L_ut</b></td></tr> |
---|
116 | |
---|
117 | </table> |
---|
118 | <hr>The documentation for this class was generated from the following files:<ul> |
---|
119 | <li><a class="el" href="libDS_8h-source.html">libDS.h</a><li>libDS.cpp</ul> |
---|
120 | </div> |
---|
121 | <hr size="1"><address style="text-align: right;"><small>Generated on Wed Feb 11 23:34:05 2009 for mixpp by |
---|
122 | <a href="http://www.doxygen.org/index.html"> |
---|
123 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> |
---|
124 | </body> |
---|
125 | </html> |
---|