[91] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
| 2 | <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
---|
| 3 | <title>mixpp: memlog Class Reference</title> |
---|
| 4 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
| 5 | <link href="tabs.css" rel="stylesheet" type="text/css"> |
---|
| 6 | </head><body> |
---|
[139] | 7 | <!-- Generated by Doxygen 1.5.6 --> |
---|
[91] | 8 | <div class="navigation" id="top"> |
---|
| 9 | <div class="tabs"> |
---|
| 10 | <ul> |
---|
| 11 | <li><a href="index.html"><span>Main Page</span></a></li> |
---|
| 12 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
[219] | 13 | <li><a href="modules.html"><span>Modules</span></a></li> |
---|
[91] | 14 | <li class="current"><a href="annotated.html"><span>Classes</span></a></li> |
---|
| 15 | <li><a href="files.html"><span>Files</span></a></li> |
---|
| 16 | </ul> |
---|
| 17 | </div> |
---|
| 18 | <div class="tabs"> |
---|
| 19 | <ul> |
---|
| 20 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
| 21 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
| 22 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
| 23 | </ul> |
---|
| 24 | </div> |
---|
| 25 | </div> |
---|
| 26 | <div class="contents"> |
---|
| 27 | <h1>memlog Class Reference</h1><!-- doxytag: class="memlog" --><!-- doxytag: inherits="logger" -->Logging into matrices in data format in memory. |
---|
| 28 | <a href="#_details">More...</a> |
---|
| 29 | <p> |
---|
| 30 | <code>#include <<a class="el" href="loggers_8h-source.html">loggers.h</a>></code> |
---|
| 31 | <p> |
---|
| 32 | <div class="dynheader"> |
---|
| 33 | Inheritance diagram for memlog:</div> |
---|
| 34 | <div class="dynsection"> |
---|
| 35 | <p><center><img src="classmemlog__inherit__graph.png" border="0" usemap="#memlog__inherit__map" alt="Inheritance graph"></center> |
---|
| 36 | <map name="memlog__inherit__map"> |
---|
| 37 | <area shape="rect" href="classdirfilelog.html" title="Logging into dirfile with buffer in memory." alt="" coords="5,156,75,180"><area shape="rect" href="classlogger.html" title="Class for storing results (and semi-results) of an experiment." alt="" coords="12,7,68,31"></map> |
---|
| 38 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
| 39 | <div class="dynheader"> |
---|
| 40 | Collaboration diagram for memlog:</div> |
---|
| 41 | <div class="dynsection"> |
---|
| 42 | <p><center><img src="classmemlog__coll__graph.png" border="0" usemap="#memlog__coll__map" alt="Collaboration graph"></center> |
---|
| 43 | <map name="memlog__coll__map"> |
---|
| 44 | <area shape="rect" href="classlogger.html" title="Class for storing results (and semi-results) of an experiment." alt="" coords="11,7,67,31"></map> |
---|
| 45 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
| 46 | |
---|
| 47 | <p> |
---|
| 48 | <a href="classmemlog-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
| 49 | <tr><td></td></tr> |
---|
| 50 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
| 51 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e056e819c5a65d4431bfe7955b1efe97"></a><!-- doxytag: member="memlog::memlog" ref="e056e819c5a65d4431bfe7955b1efe97" args="(int maxlen0)" --> |
---|
| 52 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classmemlog.html#e056e819c5a65d4431bfe7955b1efe97">memlog</a> (int maxlen0)</td></tr> |
---|
| 53 | |
---|
| 54 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <br></td></tr> |
---|
| 55 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b081ef5acb4816e6b5fcb56c19cc7e47"></a><!-- doxytag: member="memlog::init" ref="b081ef5acb4816e6b5fcb56c19cc7e47" args="()" --> |
---|
| 56 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmemlog.html#b081ef5acb4816e6b5fcb56c19cc7e47">init</a> ()</td></tr> |
---|
| 57 | |
---|
| 58 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Initialize storage. <br></td></tr> |
---|
[162] | 59 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c97961eda9cda9f0e63c703cf21e5804"></a><!-- doxytag: member="memlog::step" ref="c97961eda9cda9f0e63c703cf21e5804" args="()" --> |
---|
| 60 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmemlog.html#c97961eda9cda9f0e63c703cf21e5804">step</a> ()</td></tr> |
---|
[91] | 61 | |
---|
[162] | 62 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Shifts storage position for another time step. <br></td></tr> |
---|
[210] | 63 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3974df074f1df270d56f13ade374c1be"></a><!-- doxytag: member="memlog::logit" ref="3974df074f1df270d56f13ade374c1be" args="(int id, const vec &v)" --> |
---|
| 64 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmemlog.html#3974df074f1df270d56f13ade374c1be">logit</a> (int id, const vec &v)</td></tr> |
---|
[91] | 65 | |
---|
| 66 | <tr><td class="mdescLeft"> </td><td class="mdescRight">log this vector <br></td></tr> |
---|
[106] | 67 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="65571ebbb16577b5211adbb27baf769c"></a><!-- doxytag: member="memlog::itsave" ref="65571ebbb16577b5211adbb27baf769c" args="(const char *fname)" --> |
---|
[145] | 68 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmemlog.html#65571ebbb16577b5211adbb27baf769c">itsave</a> (const char *fname)</td></tr> |
---|
[106] | 69 | |
---|
[145] | 70 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Save values into an itfile named after <code>fname</code>. <br></td></tr> |
---|
[162] | 71 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cfb250a559b71e07a1a6aa92f2185c1b"></a><!-- doxytag: member="memlog::add" ref="cfb250a559b71e07a1a6aa92f2185c1b" args="(const RV &rv, string name="")" --> |
---|
| 72 | virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classlogger.html#cfb250a559b71e07a1a6aa92f2185c1b">add</a> (const <a class="el" href="classRV.html">RV</a> &rv, string name="")</td></tr> |
---|
[91] | 73 | |
---|
| 74 | <tr><td class="mdescLeft"> </td><td class="mdescRight">returns an identifier which will be later needed for calling the log() function <br></td></tr> |
---|
[162] | 75 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="51c1aa8a84a14097b51607a187ae3617"></a><!-- doxytag: member="memlog::finalize" ref="51c1aa8a84a14097b51607a187ae3617" args="()" --> |
---|
| 76 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classlogger.html#51c1aa8a84a14097b51607a187ae3617">finalize</a> ()</td></tr> |
---|
| 77 | |
---|
| 78 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Finalize storing information. <br></td></tr> |
---|
[91] | 79 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
---|
| 80 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4195f322897ededdac66c404b848ced3"></a><!-- doxytag: member="memlog::maxlen" ref="4195f322897ededdac66c404b848ced3" args="" --> |
---|
| 81 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classmemlog.html#4195f322897ededdac66c404b848ced3">maxlen</a></td></tr> |
---|
| 82 | |
---|
| 83 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Maximum length of vectors stored in memory. <br></td></tr> |
---|
| 84 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3410b4c002636508c43ddcba8d394520"></a><!-- doxytag: member="memlog::ind" ref="3410b4c002636508c43ddcba8d394520" args="" --> |
---|
| 85 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classmemlog.html#3410b4c002636508c43ddcba8d394520">ind</a></td></tr> |
---|
| 86 | |
---|
| 87 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Currect record to be written. <br></td></tr> |
---|
| 88 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f0f5bc7b83539ad102e8f65297852d91"></a><!-- doxytag: member="memlog::vectors" ref="f0f5bc7b83539ad102e8f65297852d91" args="" --> |
---|
| 89 | Array< mat > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmemlog.html#f0f5bc7b83539ad102e8f65297852d91">vectors</a></td></tr> |
---|
| 90 | |
---|
| 91 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Storage. <br></td></tr> |
---|
| 92 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="83eea0cf4fbca59474d015f751f128a7"></a><!-- doxytag: member="memlog::entries" ref="83eea0cf4fbca59474d015f751f128a7" args="" --> |
---|
| 93 | Array< <a class="el" href="classRV.html">RV</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classlogger.html#83eea0cf4fbca59474d015f751f128a7">entries</a></td></tr> |
---|
| 94 | |
---|
| 95 | <tr><td class="mdescLeft"> </td><td class="mdescRight">RVs of all logged variables. <br></td></tr> |
---|
| 96 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="39cb79e839ca8f8bb9dcbc8c5b9c7786"></a><!-- doxytag: member="memlog::names" ref="39cb79e839ca8f8bb9dcbc8c5b9c7786" args="" --> |
---|
| 97 | Array< string > </td><td class="memItemRight" valign="bottom"><a class="el" href="classlogger.html#39cb79e839ca8f8bb9dcbc8c5b9c7786">names</a></td></tr> |
---|
| 98 | |
---|
| 99 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Names of logged quantities, e.g. names of algorithm variants. <br></td></tr> |
---|
| 100 | </table> |
---|
| 101 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
| 102 | Logging into matrices in data format in memory. |
---|
| 103 | <p> |
---|
[106] | 104 | More?... <hr>The documentation for this class was generated from the following files:<ul> |
---|
[145] | 105 | <li>work/git/mixpp/bdm/stat/<a class="el" href="loggers_8h-source.html">loggers.h</a><li>work/git/mixpp/bdm/stat/loggers.cpp</ul> |
---|
[91] | 106 | </div> |
---|
[224] | 107 | <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jan 5 19:29:17 2009 for mixpp by |
---|
[91] | 108 | <a href="http://www.doxygen.org/index.html"> |
---|
[139] | 109 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> |
---|
[91] | 110 | </body> |
---|
| 111 | </html> |
---|