root/doc/latex/classDS.tex @ 218

Revision 172, 4.4 kB (checked in by smidl, 16 years ago)

Latex doc

  • Property svn:eol-style set to native
Line 
1\hypertarget{classDS}{
2\section{DS Class Reference}
3\label{classDS}\index{DS@{DS}}
4}
5Abstract class for discrete-time sources of data. 
6
7
8{\tt \#include $<$libBM.h$>$}
9
10Inheritance diagram for DS:\nopagebreak
11\begin{figure}[H]
12\begin{center}
13\leavevmode
14\includegraphics[width=47pt]{classDS__inherit__graph}
15\end{center}
16\end{figure}
17Collaboration diagram for DS:\nopagebreak
18\begin{figure}[H]
19\begin{center}
20\leavevmode
21\includegraphics[width=37pt]{classDS__coll__graph}
22\end{center}
23\end{figure}
24\subsection*{Public Member Functions}
25\begin{CompactItemize}
26\item 
27\hypertarget{classDS_db2dacc9e71a36eeb9c5c2ee402eeeb1}{
28void \hyperlink{classDS_db2dacc9e71a36eeb9c5c2ee402eeeb1}{getdata} (vec \&dt)}
29\label{classDS_db2dacc9e71a36eeb9c5c2ee402eeeb1}
30
31\begin{CompactList}\small\item\em Returns full vector of observed data. \item\end{CompactList}\item 
32\hypertarget{classDS_4027575bc66ea358f9b03dd3be28fe1e}{
33void \hyperlink{classDS_4027575bc66ea358f9b03dd3be28fe1e}{getdata} (vec \&dt, ivec \&indeces)}
34\label{classDS_4027575bc66ea358f9b03dd3be28fe1e}
35
36\begin{CompactList}\small\item\em Returns data records at indeces. \item\end{CompactList}\item 
37\hypertarget{classDS_0dfb6788b70c0d48a1f5276ed6c93039}{
38void \hyperlink{classDS_0dfb6788b70c0d48a1f5276ed6c93039}{write} (vec \&ut)}
39\label{classDS_0dfb6788b70c0d48a1f5276ed6c93039}
40
41\begin{CompactList}\small\item\em Accepts action variable and schedule it for application. \item\end{CompactList}\item 
42\hypertarget{classDS_f4ae51a3bc1267a6a52fc229973afe85}{
43void \hyperlink{classDS_f4ae51a3bc1267a6a52fc229973afe85}{write} (vec \&ut, ivec \&indeces)}
44\label{classDS_f4ae51a3bc1267a6a52fc229973afe85}
45
46\begin{CompactList}\small\item\em Accepts action variables at specific indeces. \item\end{CompactList}\item 
47void \hyperlink{classDS_9a35ca9c9321dce2bf63bf668f785b75}{linkrvs} (\hyperlink{classRV}{RV} \&drv, \hyperlink{classRV}{RV} \&urv)
48\begin{CompactList}\small\item\em 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. \item\end{CompactList}\item 
49\hypertarget{classDS_470ba89e8e7c3c4d830803221b4e9be6}{
50void \hyperlink{classDS_470ba89e8e7c3c4d830803221b4e9be6}{step} ()}
51\label{classDS_470ba89e8e7c3c4d830803221b4e9be6}
52
53\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}\end{CompactItemize}
54\subsection*{Protected Attributes}
55\begin{CompactItemize}
56\item 
57\hypertarget{classDS_1012025a1a3a1fdd24aa48698a3d3454}{
58\hyperlink{classRV}{RV} \hyperlink{classDS_1012025a1a3a1fdd24aa48698a3d3454}{Drv}}
59\label{classDS_1012025a1a3a1fdd24aa48698a3d3454}
60
61\begin{CompactList}\small\item\em Observed variables, returned by {\tt \hyperlink{classDS_db2dacc9e71a36eeb9c5c2ee402eeeb1}{getdata()}}. \item\end{CompactList}\item 
62\hypertarget{classDS_0a88ffaeb3c7c2cf30c69bc41a000629}{
63\hyperlink{classRV}{RV} \hyperlink{classDS_0a88ffaeb3c7c2cf30c69bc41a000629}{Urv}}
64\label{classDS_0a88ffaeb3c7c2cf30c69bc41a000629}
65
66\begin{CompactList}\small\item\em Action variables, accepted by {\tt \hyperlink{classDS_0dfb6788b70c0d48a1f5276ed6c93039}{write()}}. \item\end{CompactList}\end{CompactItemize}
67
68
69\subsection{Detailed Description}
70Abstract class for discrete-time sources of data.
71
72The 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).
73
74\subsection{Member Function Documentation}
75\hypertarget{classDS_9a35ca9c9321dce2bf63bf668f785b75}{
76\index{DS@{DS}!linkrvs@{linkrvs}}
77\index{linkrvs@{linkrvs}!DS@{DS}}
78\subsubsection[linkrvs]{\setlength{\rightskip}{0pt plus 5cm}void DS::linkrvs ({\bf RV} \& {\em drv}, \/  {\bf RV} \& {\em urv})}}
79\label{classDS_9a35ca9c9321dce2bf63bf668f785b75}
80
81
82Method 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.
83
84(Inherited from m3k, may be deprecated soon).
85
86Reimplemented in \hyperlink{classMemDS_5f72b555e0e4a61de1440c457cf57007}{MemDS}.
87
88The documentation for this class was generated from the following file:\begin{CompactItemize}
89\item 
90work/git/mixpp/bdm/stat/\hyperlink{libBM_8h}{libBM.h}\end{CompactItemize}
Note: See TracBrowser for help on using the browser.