logger Class Reference

Class for storing results (and semi-results) of an experiment. More...

#include <loggers.h>

Inheritance diagram for logger:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 logger ()
 Default constructor.
virtual int add (RV rv, string name="")
 returns an identifier which will be later needed for calling the log() function
virtual void logit (int id, vec v)=0
 log this vector
virtual void step (bool final=false)=0
 consider this record to be complete
virtual ~logger ()
 for future use

Protected Attributes

Array< RVentries
 RVs of all logged variables.
Array< string > names
 Names of logged quantities, e.g. names of algorithm variants.


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 logger. Specializations of this abstract class for specific storage method are designed.


The documentation for this class was generated from the following file:

Generated on Sat Aug 16 17:22:10 2008 for mixpp by  doxygen 1.5.6