\hypertarget{classlogger}{
\section{logger Class Reference}
\label{classlogger}\index{logger@{logger}}
}
Class for storing results (and semi-results) of an experiment.  


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

Inheritance diagram for logger:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=48pt]{classlogger__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hypertarget{classlogger_4f753a510e00c892b38e95c2284363a6}{
\hyperlink{classlogger_4f753a510e00c892b38e95c2284363a6}{logger} ()}
\label{classlogger_4f753a510e00c892b38e95c2284363a6}

\begin{CompactList}\small\item\em Default constructor. \item\end{CompactList}\item 
\hypertarget{classlogger_cfb250a559b71e07a1a6aa92f2185c1b}{
virtual int \hyperlink{classlogger_cfb250a559b71e07a1a6aa92f2185c1b}{add} (const \hyperlink{classRV}{RV} \&rv, string name=\char`\"{}\char`\"{})}
\label{classlogger_cfb250a559b71e07a1a6aa92f2185c1b}

\begin{CompactList}\small\item\em returns an identifier which will be later needed for calling the log() function \item\end{CompactList}\item 
\hypertarget{classlogger_efb5a59cb329f58810b09bd9cc270b78}{
virtual void \hyperlink{classlogger_efb5a59cb329f58810b09bd9cc270b78}{logit} (int id, vec v)=0}
\label{classlogger_efb5a59cb329f58810b09bd9cc270b78}

\begin{CompactList}\small\item\em log this vector \item\end{CompactList}\item 
\hypertarget{classlogger_709b3ebefa0da3ed371aa802b06512a2}{
virtual void \hyperlink{classlogger_709b3ebefa0da3ed371aa802b06512a2}{step} ()=0}
\label{classlogger_709b3ebefa0da3ed371aa802b06512a2}

\begin{CompactList}\small\item\em Shifts storage position for another time step. \item\end{CompactList}\item 
\hypertarget{classlogger_51c1aa8a84a14097b51607a187ae3617}{
virtual void \hyperlink{classlogger_51c1aa8a84a14097b51607a187ae3617}{finalize} ()}
\label{classlogger_51c1aa8a84a14097b51607a187ae3617}

\begin{CompactList}\small\item\em Finalize storing information. \item\end{CompactList}\item 
\hypertarget{classlogger_92c63a0a87392c62b9ed3c00faa9d5df}{
virtual \hyperlink{classlogger_92c63a0a87392c62b9ed3c00faa9d5df}{$\sim$logger} ()}
\label{classlogger_92c63a0a87392c62b9ed3c00faa9d5df}

\begin{CompactList}\small\item\em for future use \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
\hypertarget{classlogger_83eea0cf4fbca59474d015f751f128a7}{
Array$<$ \hyperlink{classRV}{RV} $>$ \hyperlink{classlogger_83eea0cf4fbca59474d015f751f128a7}{entries}}
\label{classlogger_83eea0cf4fbca59474d015f751f128a7}

\begin{CompactList}\small\item\em RVs of all logged variables. \item\end{CompactList}\item 
\hypertarget{classlogger_39cb79e839ca8f8bb9dcbc8c5b9c7786}{
Array$<$ string $>$ \hyperlink{classlogger_39cb79e839ca8f8bb9dcbc8c5b9c7786}{names}}
\label{classlogger_39cb79e839ca8f8bb9dcbc8c5b9c7786}

\begin{CompactList}\small\item\em Names of logged quantities, e.g. names of algorithm variants. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Class for storing results (and semi-results) of an experiment. 

This class abstracts logging of results from implementation. This class replaces direct logging of results (e.g. to files or to global variables) by calling methods of a \hyperlink{classlogger}{logger}. Specializations of this abstract class for specific storage method are designed. 

The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
work/git/mixpp/bdm/stat/\hyperlink{loggers_8h}{loggers.h}\end{CompactItemize}
