74 if( withinConvergenceBand )
int Int_t
Signed integer 4 bytes (int).
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
bool Bool_t
Boolean (0=false, 1=true) (bool).
float Float_t
Float 4 bytes (float).
~ConvergenceTest()
destructor
Int_t fMaxCounter
! maximum value for the counter so far
Bool_t HasConverged(Bool_t withinConvergenceBand=kFALSE)
gives back true if the last "steps" steps have lead to an improvement of the "fitness" of the "indivi...
Float_t Progress()
returns a float from 0 (just started) to 1 (finished)
std::deque< Short_t > fSuccessList
to calculate the improvement-speed
Float_t fCurrentValue
! current value
Int_t fCounter
! counts the number of steps without improvement
Float_t SpeedControl(UInt_t ofSteps)
this function provides the ability to change the learning rate according to the success of the last g...
Float_t fImprovement
! minimum improvement which counts as improvement
ConvergenceTest()
constructor
Float_t fConvValue
! the best "fitness" value
Int_t fSteps
! number of steps without improvement required for convergence
Short_t Abs(Short_t d)
Returns the absolute value of parameter Short_t d.
static uint64_t sum(uint64_t i)