1 #ifndef _SIMPLE_WEIGHT_TUNER_H_ 2 #define _SIMPLE_WEIGHT_TUNER_H_ 126 void iterate(
int runDurationMs=1000,
bool printStatus=
true);
140 bool done(
bool printMessage=
false);
CARLsim User Interface This class provides a user interface to the public sections of CARLsimCore sou...
void setConnectionToTune(short int connId, double initWt=-1.0, bool adjustRange=true)
Sets up the connection to tune.
~SimpleWeightTuner()
Destructor.
SimpleWeightTuner(CARLsim *sim, double errorMargin=1e-3, int maxIter=100, double stepSizeFraction=0.5)
Creates a new instance of class SimpleWeightTuner.
void reset()
Resets the algorithm to initial conditions.
bool done(bool printMessage=false)
Determines whether a termination criterion has been met.
void setTargetFiringRate(int grpId, double targetRate)
Sets up the target firing rate of a specific group.
void iterate(int runDurationMs=1000, bool printStatus=true)
Performs an iteration step of the tuning algorithm.
a range struct for synaptic weight magnitudes
Private implementation of the Stopwatch Utility.