\hypertarget{classbdm_1_1ArxDS}{
\section{bdm::ArxDS Class Reference}
\label{classbdm_1_1ArxDS}\index{bdm::ArxDS@{bdm::ArxDS}}
}
{\tt \#include $<$libDS.h$>$}

Inheritance diagram for bdm::ArxDS::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3cm]{classbdm_1_1ArxDS}
\end{center}
\end{figure}


\subsection{Detailed Description}
Generator of \hyperlink{classbdm_1_1ARX}{ARX} data. \subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hypertarget{classbdm_1_1ArxDS_db242e35812c311c8415bb7e31c3f595}{
void \hyperlink{classbdm_1_1ArxDS_db242e35812c311c8415bb7e31c3f595}{getdata} (vec \&dt)}
\label{classbdm_1_1ArxDS_db242e35812c311c8415bb7e31c3f595}

\begin{CompactList}\small\item\em Returns full vector of observed data=\mbox{[}output, input\mbox{]}. \item\end{CompactList}\item 
\hypertarget{classbdm_1_1ArxDS_701151418bc5fc3861acef8359fb0d80}{
void \hyperlink{classbdm_1_1ArxDS_701151418bc5fc3861acef8359fb0d80}{getdata} (vec \&dt, const ivec \&indices)}
\label{classbdm_1_1ArxDS_701151418bc5fc3861acef8359fb0d80}

\begin{CompactList}\small\item\em Returns data records at indeces. \item\end{CompactList}\item 
\hypertarget{classbdm_1_1ArxDS_8f6da8a00abba70bc58c7a4030bd8940}{
void \hyperlink{classbdm_1_1ArxDS_8f6da8a00abba70bc58c7a4030bd8940}{write} (vec \&ut)}
\label{classbdm_1_1ArxDS_8f6da8a00abba70bc58c7a4030bd8940}

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

\begin{CompactList}\small\item\em Accepts action variables at specific indeces. \item\end{CompactList}\item 
\hypertarget{classbdm_1_1ArxDS_57dfa26b23cc03d53b123fa7e0474b19}{
void \hyperlink{classbdm_1_1ArxDS_57dfa26b23cc03d53b123fa7e0474b19}{step} ()}
\label{classbdm_1_1ArxDS_57dfa26b23cc03d53b123fa7e0474b19}

\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_1ArxDS_7c8b418677a48041adacac8e8e9c9849}{
\hyperlink{classbdm_1_1ArxDS_7c8b418677a48041adacac8e8e9c9849}{ArxDS} ()}
\label{classbdm_1_1ArxDS_7c8b418677a48041adacac8e8e9c9849}

\begin{CompactList}\small\item\em Default constructor. \item\end{CompactList}\item 
\hypertarget{classbdm_1_1ArxDS_2d9abc62f1fee862f0e1c60c5c4a3c8a}{
void \hyperlink{classbdm_1_1ArxDS_2d9abc62f1fee862f0e1c60c5c4a3c8a}{set\_\-parameters} (const mat \&Th0, const vec mu0, const \hyperlink{classchmat}{chmat} \&sqR0)}
\label{classbdm_1_1ArxDS_2d9abc62f1fee862f0e1c60c5c4a3c8a}

\begin{CompactList}\small\item\em Set parameters of the internal model, H is maximum time delay. \item\end{CompactList}\item 
\hypertarget{classbdm_1_1ArxDS_bf9cd9d4043d7e0dc61de56db37ec703}{
void \hyperlink{classbdm_1_1ArxDS_bf9cd9d4043d7e0dc61de56db37ec703}{set\_\-drv} (\hyperlink{classbdm_1_1RV}{RV} \&yrv, \hyperlink{classbdm_1_1RV}{RV} \&urv, \hyperlink{classbdm_1_1RV}{RV} \&rrv)}
\label{classbdm_1_1ArxDS_bf9cd9d4043d7e0dc61de56db37ec703}

\begin{CompactList}\small\item\em Set. \item\end{CompactList}\item 
\hypertarget{classbdm_1_1ArxDS_e7438127de87c5a8128edfa12255b436}{
void \hyperlink{classbdm_1_1ArxDS_e7438127de87c5a8128edfa12255b436}{set\_\-options} (const string \&s)}
\label{classbdm_1_1ArxDS_e7438127de87c5a8128edfa12255b436}

\begin{CompactList}\small\item\em set options from a string \item\end{CompactList}\item 
\hypertarget{classbdm_1_1ArxDS_64819633a1191fcaa60d0de26ade2e52}{
virtual void \hyperlink{classbdm_1_1ArxDS_64819633a1191fcaa60d0de26ade2e52}{log\_\-add} (\hyperlink{classbdm_1_1logger}{logger} \&L)}
\label{classbdm_1_1ArxDS_64819633a1191fcaa60d0de26ade2e52}

\begin{CompactList}\small\item\em Register \hyperlink{classbdm_1_1DS}{DS} for logging into \hyperlink{classbdm_1_1logger}{logger} L. \item\end{CompactList}\item 
\hypertarget{classbdm_1_1ArxDS_4128f5dc3a04063d62fc7e35635aeb90}{
virtual void \hyperlink{classbdm_1_1ArxDS_4128f5dc3a04063d62fc7e35635aeb90}{logit} (\hyperlink{classbdm_1_1logger}{logger} \&L)}
\label{classbdm_1_1ArxDS_4128f5dc3a04063d62fc7e35635aeb90}

\begin{CompactList}\small\item\em Register \hyperlink{classbdm_1_1DS}{DS} for logging into \hyperlink{classbdm_1_1logger}{logger} L. \item\end{CompactList}\item 
\hypertarget{classbdm_1_1DS_ed2113851294ed96abe60fc3f05aa660}{
virtual \hyperlink{classbdm_1_1RV}{RV} \hyperlink{classbdm_1_1DS_ed2113851294ed96abe60fc3f05aa660}{\_\-drv} () const }
\label{classbdm_1_1DS_ed2113851294ed96abe60fc3f05aa660}

\begin{CompactList}\small\item\em access function \item\end{CompactList}\item 
\hypertarget{classbdm_1_1DS_a6a9a375da64c82fc227bda3418a1f33}{
const \hyperlink{classbdm_1_1RV}{RV} \& \hyperlink{classbdm_1_1DS_a6a9a375da64c82fc227bda3418a1f33}{\_\-urv} () const }
\label{classbdm_1_1DS_a6a9a375da64c82fc227bda3418a1f33}

\begin{CompactList}\small\item\em access function \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
\hypertarget{classbdm_1_1ArxDS_c7b3cc6cd059ff3d7f4462cedff4bdeb}{
\hyperlink{classbdm_1_1RV}{RV} \hyperlink{classbdm_1_1ArxDS_c7b3cc6cd059ff3d7f4462cedff4bdeb}{Rrv}}
\label{classbdm_1_1ArxDS_c7b3cc6cd059ff3d7f4462cedff4bdeb}

\begin{CompactList}\small\item\em Rv of the regressor. \item\end{CompactList}\item 
\hypertarget{classbdm_1_1ArxDS_a11a3f3fbeea1d17b66b073017964597}{
vec \hyperlink{classbdm_1_1ArxDS_a11a3f3fbeea1d17b66b073017964597}{H}}
\label{classbdm_1_1ArxDS_a11a3f3fbeea1d17b66b073017964597}

\begin{CompactList}\small\item\em History, ordered as $[y_t, u_t, y_{t-1 }, u_{t-1}, \ldots]$. \item\end{CompactList}\item 
\hypertarget{classbdm_1_1ArxDS_392b87be85675cb3d55fa4953d671bb5}{
vec \hyperlink{classbdm_1_1ArxDS_392b87be85675cb3d55fa4953d671bb5}{U}}
\label{classbdm_1_1ArxDS_392b87be85675cb3d55fa4953d671bb5}

\begin{CompactList}\small\item\em (future) input \item\end{CompactList}\item 
\hypertarget{classbdm_1_1ArxDS_b2d7530264499b92c3aa32454b960abe}{
vec \hyperlink{classbdm_1_1ArxDS_b2d7530264499b92c3aa32454b960abe}{rgr}}
\label{classbdm_1_1ArxDS_b2d7530264499b92c3aa32454b960abe}

\begin{CompactList}\small\item\em temporary variable for regressor \item\end{CompactList}\item 
\hypertarget{classbdm_1_1ArxDS_fbe7b993ec5f75c195ae1b2ccd96a898}{
\hyperlink{classbdm_1_1datalink}{datalink} \hyperlink{classbdm_1_1ArxDS_fbe7b993ec5f75c195ae1b2ccd96a898}{rgrlnk}}
\label{classbdm_1_1ArxDS_fbe7b993ec5f75c195ae1b2ccd96a898}

\begin{CompactList}\small\item\em data link: H -$>$ rgr \item\end{CompactList}\item 
\hypertarget{classbdm_1_1ArxDS_0aa9d8d35792159dc9611802f6c190eb}{
\hyperlink{classbdm_1_1mlnorm}{mlnorm}$<$ \hyperlink{classchmat}{chmat} $>$ \hyperlink{classbdm_1_1ArxDS_0aa9d8d35792159dc9611802f6c190eb}{model}}
\label{classbdm_1_1ArxDS_0aa9d8d35792159dc9611802f6c190eb}

\begin{CompactList}\small\item\em model of Y - linear Gaussian \item\end{CompactList}\item 
\hypertarget{classbdm_1_1ArxDS_064e5d3f2dc0b39459c7ca53d05223e1}{
bool \hyperlink{classbdm_1_1ArxDS_064e5d3f2dc0b39459c7ca53d05223e1}{opt\_\-L\_\-theta}}
\label{classbdm_1_1ArxDS_064e5d3f2dc0b39459c7ca53d05223e1}

\begin{CompactList}\small\item\em options \item\end{CompactList}\item 
\hypertarget{classbdm_1_1ArxDS_e13e5ffdfe9d896089310b0fc54e0c85}{
int \hyperlink{classbdm_1_1ArxDS_e13e5ffdfe9d896089310b0fc54e0c85}{L\_\-theta}}
\label{classbdm_1_1ArxDS_e13e5ffdfe9d896089310b0fc54e0c85}

\begin{CompactList}\small\item\em loggers \item\end{CompactList}\item 
\hypertarget{classbdm_1_1ArxDS_81a70c39cbd429fcc8130a35b368346c}{
int \textbf{L\_\-R}}
\label{classbdm_1_1ArxDS_81a70c39cbd429fcc8130a35b368346c}

\item 
\hypertarget{classbdm_1_1ArxDS_9ef18dad16bf2b66bd3e9c8d233e62d8}{
int \textbf{dt\_\-size}}
\label{classbdm_1_1ArxDS_9ef18dad16bf2b66bd3e9c8d233e62d8}

\item 
\hypertarget{classbdm_1_1DS_f96cae44624e79638a91ec4f2c7c81a9}{
int \textbf{dtsize}}
\label{classbdm_1_1DS_f96cae44624e79638a91ec4f2c7c81a9}

\item 
\hypertarget{classbdm_1_1DS_d7467046a0bd05bc992cc5e1bdedb983}{
int \textbf{utsize}}
\label{classbdm_1_1DS_d7467046a0bd05bc992cc5e1bdedb983}

\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 Description of data 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 Description of data witten by by {\tt \hyperlink{classbdm_1_1DS_f5baeee8528e5e4c5c7a344b2e3f192a}{write()}}. \item\end{CompactList}\item 
\hypertarget{classbdm_1_1DS_b4b7bdb9d98a11ab587aa0ad803bb867}{
int \hyperlink{classbdm_1_1DS_b4b7bdb9d98a11ab587aa0ad803bb867}{L\_\-dt}}
\label{classbdm_1_1DS_b4b7bdb9d98a11ab587aa0ad803bb867}

\begin{CompactList}\small\item\em Remember its own index in Logger L. \item\end{CompactList}\item 
\hypertarget{classbdm_1_1DS_b56b74ec21485846ccfad461f33b0e7a}{
int \textbf{L\_\-ut}}
\label{classbdm_1_1DS_b56b74ec21485846ccfad461f33b0e7a}

\end{CompactItemize}


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