| 1 | \hypertarget{classlogger}{ | 
|---|
| 2 | \section{logger Class Reference} | 
|---|
| 3 | \label{classlogger}\index{logger@{logger}} | 
|---|
| 4 | } | 
|---|
| 5 | Class for storing results (and semi-results) of an experiment. | 
|---|
| 6 |  | 
|---|
| 7 |  | 
|---|
| 8 | {\tt \#include $<$loggers.h$>$} | 
|---|
| 9 |  | 
|---|
| 10 | Inheritance diagram for logger:\nopagebreak | 
|---|
| 11 | \begin{figure}[H] | 
|---|
| 12 | \begin{center} | 
|---|
| 13 | \leavevmode | 
|---|
| 14 | \includegraphics[width=48pt]{classlogger__inherit__graph} | 
|---|
| 15 | \end{center} | 
|---|
| 16 | \end{figure} | 
|---|
| 17 | \subsection*{Public Member Functions} | 
|---|
| 18 | \begin{CompactItemize} | 
|---|
| 19 | \item | 
|---|
| 20 | \hypertarget{classlogger_4f753a510e00c892b38e95c2284363a6}{ | 
|---|
| 21 | \hyperlink{classlogger_4f753a510e00c892b38e95c2284363a6}{logger} ()} | 
|---|
| 22 | \label{classlogger_4f753a510e00c892b38e95c2284363a6} | 
|---|
| 23 |  | 
|---|
| 24 | \begin{CompactList}\small\item\em Default constructor. \item\end{CompactList}\item | 
|---|
| 25 | \hypertarget{classlogger_cfb250a559b71e07a1a6aa92f2185c1b}{ | 
|---|
| 26 | virtual int \hyperlink{classlogger_cfb250a559b71e07a1a6aa92f2185c1b}{add} (const \hyperlink{classRV}{RV} \&rv, string name=\char`\"{}\char`\"{})} | 
|---|
| 27 | \label{classlogger_cfb250a559b71e07a1a6aa92f2185c1b} | 
|---|
| 28 |  | 
|---|
| 29 | \begin{CompactList}\small\item\em returns an identifier which will be later needed for calling the log() function \item\end{CompactList}\item | 
|---|
| 30 | \hypertarget{classlogger_1f1d8acfcb9f7842a062fcbd80edbf80}{ | 
|---|
| 31 | virtual void \hyperlink{classlogger_1f1d8acfcb9f7842a062fcbd80edbf80}{logit} (int id, const vec \&v)=0} | 
|---|
| 32 | \label{classlogger_1f1d8acfcb9f7842a062fcbd80edbf80} | 
|---|
| 33 |  | 
|---|
| 34 | \begin{CompactList}\small\item\em log this vector \item\end{CompactList}\item | 
|---|
| 35 | \hypertarget{classlogger_709b3ebefa0da3ed371aa802b06512a2}{ | 
|---|
| 36 | virtual void \hyperlink{classlogger_709b3ebefa0da3ed371aa802b06512a2}{step} ()=0} | 
|---|
| 37 | \label{classlogger_709b3ebefa0da3ed371aa802b06512a2} | 
|---|
| 38 |  | 
|---|
| 39 | \begin{CompactList}\small\item\em Shifts storage position for another time step. \item\end{CompactList}\item | 
|---|
| 40 | \hypertarget{classlogger_51c1aa8a84a14097b51607a187ae3617}{ | 
|---|
| 41 | virtual void \hyperlink{classlogger_51c1aa8a84a14097b51607a187ae3617}{finalize} ()} | 
|---|
| 42 | \label{classlogger_51c1aa8a84a14097b51607a187ae3617} | 
|---|
| 43 |  | 
|---|
| 44 | \begin{CompactList}\small\item\em Finalize storing information. \item\end{CompactList}\item | 
|---|
| 45 | \hypertarget{classlogger_92c63a0a87392c62b9ed3c00faa9d5df}{ | 
|---|
| 46 | virtual \hyperlink{classlogger_92c63a0a87392c62b9ed3c00faa9d5df}{$\sim$logger} ()} | 
|---|
| 47 | \label{classlogger_92c63a0a87392c62b9ed3c00faa9d5df} | 
|---|
| 48 |  | 
|---|
| 49 | \begin{CompactList}\small\item\em for future use \item\end{CompactList}\end{CompactItemize} | 
|---|
| 50 | \subsection*{Protected Attributes} | 
|---|
| 51 | \begin{CompactItemize} | 
|---|
| 52 | \item | 
|---|
| 53 | \hypertarget{classlogger_83eea0cf4fbca59474d015f751f128a7}{ | 
|---|
| 54 | Array$<$ \hyperlink{classRV}{RV} $>$ \hyperlink{classlogger_83eea0cf4fbca59474d015f751f128a7}{entries}} | 
|---|
| 55 | \label{classlogger_83eea0cf4fbca59474d015f751f128a7} | 
|---|
| 56 |  | 
|---|
| 57 | \begin{CompactList}\small\item\em RVs of all logged variables. \item\end{CompactList}\item | 
|---|
| 58 | \hypertarget{classlogger_39cb79e839ca8f8bb9dcbc8c5b9c7786}{ | 
|---|
| 59 | Array$<$ string $>$ \hyperlink{classlogger_39cb79e839ca8f8bb9dcbc8c5b9c7786}{names}} | 
|---|
| 60 | \label{classlogger_39cb79e839ca8f8bb9dcbc8c5b9c7786} | 
|---|
| 61 |  | 
|---|
| 62 | \begin{CompactList}\small\item\em Names of logged quantities, e.g. names of algorithm variants. \item\end{CompactList}\end{CompactItemize} | 
|---|
| 63 |  | 
|---|
| 64 |  | 
|---|
| 65 | \subsection{Detailed Description} | 
|---|
| 66 | Class for storing results (and semi-results) of an experiment. | 
|---|
| 67 |  | 
|---|
| 68 | 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. | 
|---|
| 69 |  | 
|---|
| 70 | The documentation for this class was generated from the following file:\begin{CompactItemize} | 
|---|
| 71 | \item | 
|---|
| 72 | work/git/mixpp/bdm/stat/\hyperlink{loggers_8h}{loggers.h}\end{CompactItemize} | 
|---|