root/doc/latex/classbdm_1_1logger.tex @ 270

Revision 270, 3.6 kB (checked in by smidl, 16 years ago)

Changes in the very root classes!
* rv and rvc are no longer compulsory,
* samplecond does not return ll
* BM has drv

Line 
1\hypertarget{classbdm_1_1logger}{
2\section{bdm::logger Class Reference}
3\label{classbdm_1_1logger}\index{bdm::logger@{bdm::logger}}
4}
5{\tt \#include $<$libBM.h$>$}
6
7Inheritance diagram for bdm::logger:\nopagebreak
8\begin{figure}[H]
9\begin{center}
10\leavevmode
11\includegraphics[width=64pt]{classbdm_1_1logger__inherit__graph}
12\end{center}
13\end{figure}
14
15
16\subsection{Detailed Description}
17Class for storing results (and semi-results) of an experiment.
18
19This 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{classbdm_1_1logger}{logger}. Specializations of this abstract class for specific storage method are designed. \subsection*{Public Member Functions}
20\begin{CompactItemize}
21\item 
22\hypertarget{classbdm_1_1logger_f9c2fe7db5ddbda0098a4a5bd2c29fbf}{
23\hyperlink{classbdm_1_1logger_f9c2fe7db5ddbda0098a4a5bd2c29fbf}{logger} ()}
24\label{classbdm_1_1logger_f9c2fe7db5ddbda0098a4a5bd2c29fbf}
25
26\begin{CompactList}\small\item\em Default constructor. \item\end{CompactList}\item 
27\hypertarget{classbdm_1_1logger_cfb4807e20b3d00f3d33e55ada528dc1}{
28virtual int \hyperlink{classbdm_1_1logger_cfb4807e20b3d00f3d33e55ada528dc1}{add} (const \hyperlink{classbdm_1_1RV}{RV} \&rv, string name=\char`\"{}\char`\"{})}
29\label{classbdm_1_1logger_cfb4807e20b3d00f3d33e55ada528dc1}
30
31\begin{CompactList}\small\item\em returns an identifier which will be later needed for calling the log() function \item\end{CompactList}\item 
32\hypertarget{classbdm_1_1logger_397c014b0aaf3581516e2a105d26a5c9}{
33virtual void \hyperlink{classbdm_1_1logger_397c014b0aaf3581516e2a105d26a5c9}{logit} (int id, const vec \&v)=0}
34\label{classbdm_1_1logger_397c014b0aaf3581516e2a105d26a5c9}
35
36\begin{CompactList}\small\item\em log this vector \item\end{CompactList}\item 
37\hypertarget{classbdm_1_1logger_4f31c03578a7b9b30d8b1f8c338a37e8}{
38virtual void \hyperlink{classbdm_1_1logger_4f31c03578a7b9b30d8b1f8c338a37e8}{step} ()=0}
39\label{classbdm_1_1logger_4f31c03578a7b9b30d8b1f8c338a37e8}
40
41\begin{CompactList}\small\item\em Shifts storage position for another time step. \item\end{CompactList}\item 
42\hypertarget{classbdm_1_1logger_0e3fc7d13e23a8f71fc7c8a5ea68559d}{
43virtual void \hyperlink{classbdm_1_1logger_0e3fc7d13e23a8f71fc7c8a5ea68559d}{finalize} ()}
44\label{classbdm_1_1logger_0e3fc7d13e23a8f71fc7c8a5ea68559d}
45
46\begin{CompactList}\small\item\em Finalize storing information. \item\end{CompactList}\item 
47\hypertarget{classbdm_1_1logger_cd6291a73491f755dc7bc88d022eb2fc}{
48virtual void \hyperlink{classbdm_1_1logger_cd6291a73491f755dc7bc88d022eb2fc}{init} ()}
49\label{classbdm_1_1logger_cd6291a73491f755dc7bc88d022eb2fc}
50
51\begin{CompactList}\small\item\em Initialize the storage. \item\end{CompactList}\end{CompactItemize}
52\subsection*{Protected Attributes}
53\begin{CompactItemize}
54\item 
55\hypertarget{classbdm_1_1logger_c54566a4554089443a20b2a49ed1a61f}{
56Array$<$ \hyperlink{classbdm_1_1RV}{RV} $>$ \hyperlink{classbdm_1_1logger_c54566a4554089443a20b2a49ed1a61f}{entries}}
57\label{classbdm_1_1logger_c54566a4554089443a20b2a49ed1a61f}
58
59\begin{CompactList}\small\item\em RVs of all logged variables. \item\end{CompactList}\item 
60\hypertarget{classbdm_1_1logger_68ca1f05cf3d414ba0f39211977b8d02}{
61Array$<$ string $>$ \hyperlink{classbdm_1_1logger_68ca1f05cf3d414ba0f39211977b8d02}{names}}
62\label{classbdm_1_1logger_68ca1f05cf3d414ba0f39211977b8d02}
63
64\begin{CompactList}\small\item\em Names of logged quantities, e.g. names of algorithm variants. \item\end{CompactList}\end{CompactItemize}
65
66
67The documentation for this class was generated from the following file:\begin{CompactItemize}
68\item 
69\hyperlink{libBM_8h}{libBM.h}\end{CompactItemize}
Note: See TracBrowser for help on using the browser.