|
Graphitti
A toolkit/software architecture to ease creating high-performance neural network simulators
|


Public Member Functions | |
| Xml911Recorder ()=default | |
| The constructor and destructor. | |
| virtual void | compileHistories () override |
| virtual void | saveSimData () override |
| virtual void | printParameters () override |
Public Member Functions inherited from XmlRecorder | |
| virtual void | init () override |
| Initialize data in the newly loadeded xml file. | |
| virtual void | term () override |
| Terminate process. | |
| virtual void | registerVariable (const string &varName, RecordableBase &recordVar, UpdatedType variableType) override |
| Registers a single instance of a class derived from RecordableBase. | |
| virtual void | registerVariable (const string &varName, vector< RecordableBase * > &recordVars, UpdatedType variableType) override |
| Register a vector of instance of a class derived from RecordableBase. | |
| XmlRecorder (const string &fileName) | |
| constructor only for unit test | |
| const string & | getVariableName (int numIndex) const |
| const string & | getDataType (int numIndex) const |
| RecordableBase & | getSingleVariable (int numIndex) |
| vector< multipleTypes > & | getHistory (int numIndex) |
| Accessor method for variablesHistory_ (only included during unit tests) | |
| string | getToXML (const string &name, vector< multipleTypes > &singleVariableBuffer_, const string &basicType) |
| get an output stream from toXml method (only included during unit tests) | |
Public Member Functions inherited from Recorder | |
Static Public Member Functions | |
| static Recorder * | Create () |
Static Public Member Functions inherited from XmlRecorder | |
| static Recorder * | Create () |
Additional Inherited Members | |
Public Types inherited from Recorder | |
| enum | UpdatedType { CONSTANT , DYNAMIC } |
| The recorded variable Type/Updated frequency. More... | |
Protected Member Functions inherited from XmlRecorder | |
| string | toXML (const string &name, vector< multipleTypes > &singleVariableBuffer_, const string &basicType) const |
| Retrieves values of a vector of variant and outputs them to a xml file. | |
| void | getStarterNeuronMatrix (VectorMatrix &matrix, const vector< bool > &starterMap) |
Protected Member Functions inherited from Recorder | |
Protected Attributes inherited from XmlRecorder | |
| vector< singleVariableInfo > | variableTable_ |
| List of registered variables for recording. | |
| ofstream | resultOut_ |
| a file stream for xml output | |
Protected Attributes inherited from Recorder | |
| string | resultFileName_ |
| File path to the file that the results will be printed to. | |
| log4cplus::Logger | fileLogger_ |
| Loggers used to print to using log4cplus logging macros, prints to Results/Debug/logging.txt. | |
Definition at line 19 of file Xml911Recorder.h.
|
overridevirtual |
Compile history information in every epoch
| [in] | vertices | The entire list of vertices. |
Reimplemented from XmlRecorder.
Definition at line 21 of file Xml911Recorder.cpp.
|
inlinestatic |
Definition at line 26 of file Xml911Recorder.h.
|
overridevirtual |
Prints out all parameters to logging file. Registered to OperationManager as Operation::printParameters
Reimplemented from XmlRecorder.
Definition at line 113 of file Xml911Recorder.cpp.
|
overridevirtual |
Writes simulation results to an output destination.
| vertices | the Vertex list to search from. |
Reimplemented from XmlRecorder.
Definition at line 28 of file Xml911Recorder.cpp.