40 fConvValue( FLT_MAX ),
42 fBestResult( FLT_MAX ),
43 fLastResult( FLT_MAX )
72 if( withinConvergenceBand )
123 std::deque<Short_t>::iterator vec =
fSuccessList.begin();
static long int sum(long int i)
Int_t fMaxCounter
the best "fitness" value
Float_t fBestResult
maximum value for the counter so far
Float_t fImprovement
current value
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...
Int_t fSteps
minimum improvement which counts as improvement
Float_t Progress()
returns a float from 0 (just started) to 1 (finished)
ConvergenceTest()
constructor
~ConvergenceTest()
destructor
std::deque< Short_t > fSuccessList
Float_t SpeedControl(UInt_t ofSteps)
this function provides the ability to change the learning rate according to the success of the last g...
Int_t fCounter
number of steps without improvement required for convergence
Float_t fConvValue
counts the number of steps without improvement