\hypertarget{classbdm_1_1MemDS}{
\section{bdm::MemDS Class Reference}
\label{classbdm_1_1MemDS}\index{bdm::MemDS@{bdm::MemDS}}
}
Memory storage of off-line data column-wise.  


{\tt \#include $<$libDS.h$>$}

Inheritance diagram for bdm::MemDS:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=64pt]{classbdm_1_1MemDS__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for bdm::MemDS:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=76pt]{classbdm_1_1MemDS__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hypertarget{classbdm_1_1MemDS_23522b9e7dd0bb0c365cc9cde4c05449}{
void \hyperlink{classbdm_1_1MemDS_23522b9e7dd0bb0c365cc9cde4c05449}{getdata} (vec \&dt)}
\label{classbdm_1_1MemDS_23522b9e7dd0bb0c365cc9cde4c05449}

\begin{CompactList}\small\item\em Returns full vector of observed data. \item\end{CompactList}\item 
\hypertarget{classbdm_1_1MemDS_62083e1db465a97a2a39fc682addc83d}{
void \hyperlink{classbdm_1_1MemDS_62083e1db465a97a2a39fc682addc83d}{getdata} (vec \&dt, const ivec \&indeces)}
\label{classbdm_1_1MemDS_62083e1db465a97a2a39fc682addc83d}

\begin{CompactList}\small\item\em Returns data records at indeces. \item\end{CompactList}\item 
\hypertarget{classbdm_1_1MemDS_5f72b555e0e4a61de1440c457cf57007}{
void \textbf{linkrvs} (\hyperlink{classbdm_1_1RV}{RV} \&drv, \hyperlink{classbdm_1_1RV}{RV} \&urv)}
\label{classbdm_1_1MemDS_5f72b555e0e4a61de1440c457cf57007}

\item 
\hypertarget{classbdm_1_1MemDS_9a7f17598fe2b458707ba932865beef5}{
void \hyperlink{classbdm_1_1MemDS_9a7f17598fe2b458707ba932865beef5}{write} (vec \&ut)}
\label{classbdm_1_1MemDS_9a7f17598fe2b458707ba932865beef5}

\begin{CompactList}\small\item\em Accepts action variable and schedule it for application. \item\end{CompactList}\item 
\hypertarget{classbdm_1_1MemDS_d9af4563d430d8a3f15aa03581e52ef0}{
void \textbf{write} (vec \&ut, ivec \&indexes)}
\label{classbdm_1_1MemDS_d9af4563d430d8a3f15aa03581e52ef0}

\item 
\hypertarget{classbdm_1_1MemDS_21916feb3e5ff960855c09b06a0d279b}{
void \hyperlink{classbdm_1_1MemDS_21916feb3e5ff960855c09b06a0d279b}{step} ()}
\label{classbdm_1_1MemDS_21916feb3e5ff960855c09b06a0d279b}

\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 
\hypertarget{classbdm_1_1MemDS_84cfba80cb32d07be94690658175e9c4}{
\hyperlink{classbdm_1_1MemDS_84cfba80cb32d07be94690658175e9c4}{MemDS} (mat \&Dat, ivec \&rowid, ivec \&delays)}
\label{classbdm_1_1MemDS_84cfba80cb32d07be94690658175e9c4}

\begin{CompactList}\small\item\em Default constructor. \item\end{CompactList}\item 
\hypertarget{classbdm_1_1DS_6bced13f84f6bf04449728817e049e1d}{
virtual void \hyperlink{classbdm_1_1DS_6bced13f84f6bf04449728817e049e1d}{write} (vec \&ut, const ivec \&indeces)}
\label{classbdm_1_1DS_6bced13f84f6bf04449728817e049e1d}

\begin{CompactList}\small\item\em Accepts action variables at specific indeces. \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
\hypertarget{classbdm_1_1DS_d8db125ac35f3b8eeb773fc9a4cb45ec}{
\hyperlink{classbdm_1_1RV}{RV} \hyperlink{classbdm_1_1DS_d8db125ac35f3b8eeb773fc9a4cb45ec}{Drv}}
\label{classbdm_1_1DS_d8db125ac35f3b8eeb773fc9a4cb45ec}

\begin{CompactList}\small\item\em Observed variables, returned by {\tt \hyperlink{classbdm_1_1DS_c1ec862dec7164fee3284c6f9a51b0ba}{getdata()}}. \item\end{CompactList}\item 
\hypertarget{classbdm_1_1DS_9ac5970128fd39f4f6226723cd1de702}{
\hyperlink{classbdm_1_1RV}{RV} \hyperlink{classbdm_1_1DS_9ac5970128fd39f4f6226723cd1de702}{Urv}}
\label{classbdm_1_1DS_9ac5970128fd39f4f6226723cd1de702}

\begin{CompactList}\small\item\em Action variables, accepted by {\tt \hyperlink{classbdm_1_1DS_f5baeee8528e5e4c5c7a344b2e3f192a}{write()}}. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Memory storage of off-line data column-wise. 

The 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}.

The data can be loaded from a file. 

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
\hyperlink{libDS_8h}{libDS.h}\item 
libDS.cpp\end{CompactItemize}
