root/doc/latex/classbdm_1_1MemDS.tex @ 261

Revision 261, 4.3 kB (checked in by smidl, 16 years ago)

doc

Line 
1\hypertarget{classbdm_1_1MemDS}{
2\section{bdm::MemDS Class Reference}
3\label{classbdm_1_1MemDS}\index{bdm::MemDS@{bdm::MemDS}}
4}
5Memory storage of off-line data column-wise. 
6
7
8{\tt \#include $<$libDS.h$>$}
9
10Inheritance diagram for bdm::MemDS:\nopagebreak
11\begin{figure}[H]
12\begin{center}
13\leavevmode
14\includegraphics[width=64pt]{classbdm_1_1MemDS__inherit__graph}
15\end{center}
16\end{figure}
17Collaboration diagram for bdm::MemDS:\nopagebreak
18\begin{figure}[H]
19\begin{center}
20\leavevmode
21\includegraphics[width=76pt]{classbdm_1_1MemDS__coll__graph}
22\end{center}
23\end{figure}
24\subsection*{Public Member Functions}
25\begin{CompactItemize}
26\item 
27\hypertarget{classbdm_1_1MemDS_23522b9e7dd0bb0c365cc9cde4c05449}{
28void \hyperlink{classbdm_1_1MemDS_23522b9e7dd0bb0c365cc9cde4c05449}{getdata} (vec \&dt)}
29\label{classbdm_1_1MemDS_23522b9e7dd0bb0c365cc9cde4c05449}
30
31\begin{CompactList}\small\item\em Returns full vector of observed data. \item\end{CompactList}\item 
32\hypertarget{classbdm_1_1MemDS_62083e1db465a97a2a39fc682addc83d}{
33void \hyperlink{classbdm_1_1MemDS_62083e1db465a97a2a39fc682addc83d}{getdata} (vec \&dt, const ivec \&indeces)}
34\label{classbdm_1_1MemDS_62083e1db465a97a2a39fc682addc83d}
35
36\begin{CompactList}\small\item\em Returns data records at indeces. \item\end{CompactList}\item 
37\hypertarget{classbdm_1_1MemDS_5f72b555e0e4a61de1440c457cf57007}{
38void \textbf{linkrvs} (\hyperlink{classbdm_1_1RV}{RV} \&drv, \hyperlink{classbdm_1_1RV}{RV} \&urv)}
39\label{classbdm_1_1MemDS_5f72b555e0e4a61de1440c457cf57007}
40
41\item 
42\hypertarget{classbdm_1_1MemDS_9a7f17598fe2b458707ba932865beef5}{
43void \hyperlink{classbdm_1_1MemDS_9a7f17598fe2b458707ba932865beef5}{write} (vec \&ut)}
44\label{classbdm_1_1MemDS_9a7f17598fe2b458707ba932865beef5}
45
46\begin{CompactList}\small\item\em Accepts action variable and schedule it for application. \item\end{CompactList}\item 
47\hypertarget{classbdm_1_1MemDS_d9af4563d430d8a3f15aa03581e52ef0}{
48void \textbf{write} (vec \&ut, ivec \&indexes)}
49\label{classbdm_1_1MemDS_d9af4563d430d8a3f15aa03581e52ef0}
50
51\item 
52\hypertarget{classbdm_1_1MemDS_21916feb3e5ff960855c09b06a0d279b}{
53void \hyperlink{classbdm_1_1MemDS_21916feb3e5ff960855c09b06a0d279b}{step} ()}
54\label{classbdm_1_1MemDS_21916feb3e5ff960855c09b06a0d279b}
55
56\begin{CompactList}\small\item\em Moves from $t$ to $t+1$, i.e. perfroms the actions and reads response of the system. \item\end{CompactList}\item 
57\hypertarget{classbdm_1_1MemDS_84cfba80cb32d07be94690658175e9c4}{
58\hyperlink{classbdm_1_1MemDS_84cfba80cb32d07be94690658175e9c4}{MemDS} (mat \&Dat, ivec \&rowid, ivec \&delays)}
59\label{classbdm_1_1MemDS_84cfba80cb32d07be94690658175e9c4}
60
61\begin{CompactList}\small\item\em Default constructor. \item\end{CompactList}\item 
62\hypertarget{classbdm_1_1DS_6bced13f84f6bf04449728817e049e1d}{
63virtual void \hyperlink{classbdm_1_1DS_6bced13f84f6bf04449728817e049e1d}{write} (vec \&ut, const ivec \&indeces)}
64\label{classbdm_1_1DS_6bced13f84f6bf04449728817e049e1d}
65
66\begin{CompactList}\small\item\em Accepts action variables at specific indeces. \item\end{CompactList}\end{CompactItemize}
67\subsection*{Protected Attributes}
68\begin{CompactItemize}
69\item 
70\hypertarget{classbdm_1_1DS_d8db125ac35f3b8eeb773fc9a4cb45ec}{
71\hyperlink{classbdm_1_1RV}{RV} \hyperlink{classbdm_1_1DS_d8db125ac35f3b8eeb773fc9a4cb45ec}{Drv}}
72\label{classbdm_1_1DS_d8db125ac35f3b8eeb773fc9a4cb45ec}
73
74\begin{CompactList}\small\item\em Observed variables, returned by {\tt \hyperlink{classbdm_1_1DS_c1ec862dec7164fee3284c6f9a51b0ba}{getdata()}}. \item\end{CompactList}\item 
75\hypertarget{classbdm_1_1DS_9ac5970128fd39f4f6226723cd1de702}{
76\hyperlink{classbdm_1_1RV}{RV} \hyperlink{classbdm_1_1DS_9ac5970128fd39f4f6226723cd1de702}{Urv}}
77\label{classbdm_1_1DS_9ac5970128fd39f4f6226723cd1de702}
78
79\begin{CompactList}\small\item\em Action variables, accepted by {\tt \hyperlink{classbdm_1_1DS_f5baeee8528e5e4c5c7a344b2e3f192a}{write()}}. \item\end{CompactList}\end{CompactItemize}
80
81
82\subsection{Detailed Description}
83Memory storage of off-line data column-wise.
84
85The data are stored in an internal matrix {\tt Data} . Each column of Data corresponds to one discrete time observation $t$. Access to this matrix is via indexes {\tt rowid} and {\tt delays}.
86
87The data can be loaded from a file.
88
89The documentation for this class was generated from the following files:\begin{CompactItemize}
90\item 
91\hyperlink{libDS_8h}{libDS.h}\item 
92libDS.cpp\end{CompactItemize}
Note: See TracBrowser for help on using the browser.