Auryn simulator
v0.8.1-206-gb56e451
Plastic Spiking Neural Network Simulator
|
The abstract base class for all checkers. More...
#include <Checker.h>
Public Member Functions | |
Checker () | |
virtual | ~Checker () |
virtual bool | propagate ()=0 |
Friends | |
class | boost::serialization::access |
The abstract base class for all checkers.
Checkers are online monitors that can be used to break a run. In many simulations involving plasticity it is for instance useful to monitor the average firing rate of the network. If it drops to zero or explodes this can trigger the abortion of the run to avoid hammering of the fileserver or other loss of resources. The most dominant checker for this purpose is RateChecker that should be included in every simulation.
|
pure virtual |
The propagate function of Checkers is for internal use. It is called by System and returns true to signal a break. If checking is enabled for it will stop the current run.
Implemented in auryn::RateChecker, and auryn::WeightChecker.
|
friend |