20 #include "evaluations/multitrials.h"
21 #include "configurationparameters.h"
61 currStep = numSteps+1;
68 qWarning(
"Setting the number of Steps to ZERO!! Check you config file" );
71 qWarning(
"Setting the number of Trials to ZERO!! Check you config file" );
82 Descriptor d =
addTypeDescription( type,
"Evaluation of the fitness based on more trials",
"This evaluation of the fitness suppose that each individual will be tested on ntrials trials on which each lasts nsteps steps" );
89 incrementStep = !remain;
94 return !incrementStep;
97 void MultiTrials::init() {
104 void MultiTrials::step() {
105 if ( !trialInited ) {
114 if ( currStep >= numSteps ) {
121 if ( currTrial >= numTrials ) {
129 void MultiTrials::fini() {