Typos in comments
This commit is contained in:
parent
576249509b
commit
70caa91b22
1 changed files with 2 additions and 2 deletions
|
|
@ -63,7 +63,7 @@ public:
|
||||||
lastImprovement = thisGeneration;
|
lastImprovement = thisGeneration;
|
||||||
} else {
|
} else {
|
||||||
if (thisGeneration - lastImprovement > repSteadyGenerations) {
|
if (thisGeneration - lastImprovement > repSteadyGenerations) {
|
||||||
cout << "STOP in eoSteadyFitContnue: Done " << repSteadyGenerations
|
cout << "STOP in eoSteadyFitContinue: Done " << repSteadyGenerations
|
||||||
<< " generations without improvement\n";
|
<< " generations without improvement\n";
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
@ -73,7 +73,7 @@ public:
|
||||||
steadyState = true;
|
steadyState = true;
|
||||||
bestSoFar = bestCurrentFitness;
|
bestSoFar = bestCurrentFitness;
|
||||||
lastImprovement = thisGeneration;
|
lastImprovement = thisGeneration;
|
||||||
cout << "eoSteadyFitContnue: Done the minimum number of generations\n";
|
cout << "eoSteadyFitContinue: Done the minimum number of generations\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Reference in a new issue