Tiny details
This commit is contained in:
parent
18cd20da78
commit
5274c852f1
2 changed files with 2 additions and 2 deletions
|
|
@ -201,7 +201,7 @@ eoCheckPoint<EOT>& do_make_checkpoint(eoParser& _parser, eoState& _state, eoEval
|
||||||
fileMonitor->add(_eval);
|
fileMonitor->add(_eval);
|
||||||
if (tCounter) // we want the time as well
|
if (tCounter) // we want the time as well
|
||||||
{
|
{
|
||||||
cout << "On met timecounter\n";
|
// cout << "On met timecounter\n";
|
||||||
fileMonitor->add(*tCounter);
|
fileMonitor->add(*tCounter);
|
||||||
}
|
}
|
||||||
fileMonitor->add(*bestStat);
|
fileMonitor->add(*bestStat);
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,7 @@ eoContinue<Indi> & do_make_continue(eoParser& _parser, eoState& _state, eoEvalFu
|
||||||
|
|
||||||
// First the eoGenContinue - need a default value so you can run blind
|
// First the eoGenContinue - need a default value so you can run blind
|
||||||
// but we also need to be able to avoid it <--> 0
|
// but we also need to be able to avoid it <--> 0
|
||||||
eoValueParam<unsigned>& maxGenParam = _parser.createParam(unsigned(100), "maxGen", "Maximum number of generations () = none)",'G',"Stopping criterion");
|
eoValueParam<unsigned>& maxGenParam = _parser.getORcreateParam(unsigned(100), "maxGen", "Maximum number of generations () = none)",'G',"Stopping criterion");
|
||||||
|
|
||||||
if (maxGenParam.value()) // positive: -> define and store
|
if (maxGenParam.value()) // positive: -> define and store
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Reference in a new issue