Auryn simulator
v0.8.1-206-gb56e451
Plastic Spiking Neural Network Simulator
|
Records sum of all weights in synaptic weight matrix in predefined intervals. More...
#include <WeightSumMonitor.h>
Public Member Functions | |
WeightSumMonitor (Connection *source, string filename, AurynDouble binsize=1.0) | |
virtual | ~WeightSumMonitor () |
void | execute () |
Protected Member Functions | |
void | init (Connection *source, string filename, AurynTime stepsize) |
Protected Member Functions inherited from auryn::Monitor | |
virtual void | open_output_file (std::string filename) |
virtual void | virtual_serialize (boost::archive::binary_oarchive &ar, const unsigned int version) |
virtual void | virtual_serialize (boost::archive::binary_iarchive &ar, const unsigned int version) |
virtual void | flush () |
Flush to file. More... | |
Monitor (std::string filename, std::string default_extension="dat") | |
Standard constructor with file name. More... | |
Monitor () | |
Constructor which does not open a text file for output. More... | |
std::string | generate_filename (std::string name_hint="") |
Generates a default filename from the device ID. More... | |
virtual | ~Monitor () |
Standard destructor. More... | |
Protected Member Functions inherited from auryn::Device | |
void | init () |
Standard initializer to be called by the constructor. More... | |
Device () | |
Standard constructor. More... | |
void | set_name (std::string s) |
Set device name. More... | |
std::string | get_name () |
Get device name. More... | |
int | get_id () |
Get numeric device id. More... | |
virtual | ~Device () |
Standard destructor. More... | |
virtual void | evolve () |
Protected Attributes | |
Connection * | src |
AurynTime | ssize |
NeuronID | data_size_limit |
Protected Attributes inherited from auryn::Monitor | |
std::ofstream | outfile |
std::string | fname |
std::string | default_file_extension |
bool | active |
Standard active switch. More... | |
Protected Attributes inherited from auryn::Device | |
std::string | device_name |
Identifying name for device. More... | |
bool | active |
Standard active switch. More... | |
Records sum of all weights in synaptic weight matrix in predefined intervals.
WeightSumMonitor::WeightSumMonitor | ( | Connection * | source, |
std::string | filename, | ||
AurynDouble | binsize = 1.0 |
||
) |
|
virtual |
Virtual execute function to be called at the end of central simulation loop in System
Reimplemented from auryn::Device.
|
protected |
|
protected |
|
protected |
|
protected |