Auryn simulator
v0.8.1-206-gb56e451
Plastic Spiking Neural Network Simulator
|
A Checker class that tracks the meain weight of a Connection and breaks a run if it goes out of bound. More...
#include <WeightChecker.h>
Public Member Functions | |
WeightChecker (Connection *source, AurynFloat max) | |
The default constructor. More... | |
WeightChecker (Connection *source, AurynFloat min, AurynFloat max, AurynFloat timestep=10.0) | |
A more elaborate constructor specifying also a minimum weight to guard against silent networks. More... | |
virtual | ~WeightChecker () |
virtual bool | propagate () |
Public Member Functions inherited from auryn::Checker | |
Checker () | |
virtual | ~Checker () |
A Checker class that tracks the meain weight of a Connection and breaks a run if it goes out of bound.
WeightChecker::WeightChecker | ( | Connection * | source, |
AurynFloat | max | ||
) |
The default constructor.
source | the source group to monitor. |
max | the maximum mean weight above which the Checker signals a break of the simulation. |
WeightChecker::WeightChecker | ( | Connection * | source, |
AurynFloat | min, | ||
AurynFloat | max, | ||
AurynFloat | timestep = 10.0 |
||
) |
A more elaborate constructor specifying also a minimum weight to guard against silent networks.
source | the source group to monitor. |
min | the minimum mean weight below which the Checker signals a break of the simulation. |
max | the maximum mean weight above which the Checker signals a break of the simulation. |
timestep | Check weights every timestep seconds (default = 10s because weight checking is expensive). |
|
virtual |
The propagate function required for internal use.
Implements auryn::Checker.