CARLsim  5.0.0
CARLsim: a GPU-accelerated SNN simulator
SimpleWeightTuner::Impl Class Reference

Private implementation of the Stopwatch Utility. More...

Public Member Functions

 Impl (CARLsim *sim, double errorMargin, int maxIter, double stepSizeFraction)
 
 ~Impl ()
 
bool done (bool printMessage)
 
void iterate (int runDurationMs, bool printStatus)
 
void reset ()
 
void setConnectionToTune (short int connId, double initWt, bool adjustRange)
 
void setTargetFiringRate (int grpId, double targetRate)
 

Detailed Description

This class provides a timer with milliseconds resolution.

See also
http://stackoverflow.com/questions/1861294/how-to-calculate-execution-time-of-a-code-snippet-in-c/1861337#1861337
Since
v3.1

Definition at line 68 of file simple_weight_tuner.cpp.

Constructor & Destructor Documentation

◆ Impl()

Impl ( CARLsim sim,
double  errorMargin,
int  maxIter,
double  stepSizeFraction 
)
inline

Definition at line 72 of file simple_weight_tuner.cpp.

◆ ~Impl()

~Impl ( )
inline

Definition at line 104 of file simple_weight_tuner.cpp.

Member Function Documentation

◆ done()

bool done ( bool  printMessage)
inline

Definition at line 116 of file simple_weight_tuner.cpp.

◆ iterate()

void iterate ( int  runDurationMs,
bool  printStatus 
)
inline

Definition at line 168 of file simple_weight_tuner.cpp.

◆ reset()

void reset ( )
inline

Definition at line 111 of file simple_weight_tuner.cpp.

◆ setConnectionToTune()

void setConnectionToTune ( short int  connId,
double  initWt,
bool  adjustRange 
)
inline

Definition at line 141 of file simple_weight_tuner.cpp.

◆ setTargetFiringRate()

void setTargetFiringRate ( int  grpId,
double  targetRate 
)
inline

Definition at line 152 of file simple_weight_tuner.cpp.


The documentation for this class was generated from the following file: