add FastGA foundry and eoStandardBitMutation variants
This commit is contained in:
parent
1cdb134ee2
commit
efa6567359
11 changed files with 598 additions and 4 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue