add FastGA foundry and eoStandardBitMutation variants

This commit is contained in:
Johann Dreo 2020-07-05 19:03:22 +02:00
commit efa6567359
11 changed files with 598 additions and 4 deletions

View file

@ -272,6 +272,8 @@ template<class EOT> class eoEasyEA: public eoAlgo<EOT>
replace(_pop, offspring); // after replace, the new pop. is in _pop
std::cout << _pop << std::endl;
if (pSize > _pop.size())
throw eoException("Population shrinking!");
else if (pSize < _pop.size())