Removed "using namespace std" statements from header files in EO -- "std::" identifier were added where necessary.
This commit is contained in:
parent
6441ea1ec3
commit
86fa476c67
263 changed files with 2009 additions and 1976 deletions
|
|
@ -58,7 +58,7 @@ public:
|
|||
{
|
||||
if (tSize < 2)
|
||||
{
|
||||
cout << "Warning, Size for eoDetTournamentTruncateSplit adjusted to 2\n";
|
||||
std::cout << "Warning, Size for eoDetTournamentTruncateSplit adjusted to 2\n";
|
||||
tSize = 2;
|
||||
}
|
||||
}
|
||||
|
|
@ -70,7 +70,7 @@ public:
|
|||
unsigned toKeep = temp.size(); // how many to keep from merged populations
|
||||
// minimal check
|
||||
if (toKeep < 2)
|
||||
throw runtime_error("Not enough parents killed in eoMGGReplacement");
|
||||
throw std::runtime_error("Not enough parents killed in eoMGGReplacement");
|
||||
|
||||
// select best offspring
|
||||
eoPop<EOT>::iterator it = _offspring.it_best_element();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue