#include <loggers.h>
Public Member Functions | |
memlog (int maxlen0) | |
Default constructor. | |
void | init () |
Initialize storage. | |
void | step (bool final=false) |
consider this record to be complete | |
void | logit (int id, vec v) |
log this vector | |
void | itsave (const char *fname) |
virtual int | add (RV rv, string name="") |
returns an identifier which will be later needed for calling the log() function | |
Protected Attributes | |
int | maxlen |
Maximum length of vectors stored in memory. | |
int | ind |
Currect record to be written. | |
Array< mat > | vectors |
Storage. | |
Array< RV > | entries |
RVs of all logged variables. | |
Array< string > | names |
Names of logged quantities, e.g. names of algorithm variants. |
More?...