Removed "using namespace std" statements from header files in EO -- "std::" identifier were added where necessary.

This commit is contained in:
okoenig 2003-02-27 19:28:07 +00:00
commit 86fa476c67
263 changed files with 2009 additions and 1976 deletions

View file

@ -54,7 +54,7 @@ public:
* reached withtout improvement */
virtual bool operator() ( const eoPop<EOT>& _vEO ) {
thisGeneration++;
// cout << " [" << thisGeneration << "] ";
// std::cout << " [" << thisGeneration << "] ";
Fitness bestCurrentFitness = _vEO.nth_element_fitness(0);
if (steadyState) { // already after MinGenenerations
@ -63,7 +63,7 @@ public:
lastImprovement = thisGeneration;
} else {
if (thisGeneration - lastImprovement > repSteadyGenerations) {
cout << "STOP in eoSteadyFitContinue: Done " << repSteadyGenerations
std::cout << "STOP in eoSteadyFitContinue: Done " << repSteadyGenerations
<< " generations without improvement\n";
return false;
}
@ -73,7 +73,7 @@ public:
steadyState = true;
bestSoFar = bestCurrentFitness;
lastImprovement = thisGeneration;
cout << "eoSteadyFitContinue: Done the minimum number of generations\n";
std::cout << "eoSteadyFitContinue: Done the minimum number of generations\n";
}
}
return true;