Checking in the name changes in selection procedures.

This impacts on many files, creating new entries in src (the old ones are moved
to obsolete dir), modifying t-eoSymreg.cpp and t-eobin.cpp in test,
as well as gprop.cc and mastermind.cc in app dir (not to mention almost all
files in tutorial:-(
This commit is contained in:
evomarc 2001-01-05 05:42:08 +00:00
commit a998ad0a41
36 changed files with 922 additions and 226 deletions

View file

@ -94,5 +94,22 @@ class eoCommaReplacement : public eoMergeReduce<EOT>
eoTruncate<EOT> truncate;
};
/**
EP type of replacement strategy: first add parents to population,
then truncate using EP tournament
*/
template <class EOT>
class eoEPReplacement : public eoMergeReduce<EOT>
{
public :
eoEPReplacement(int _tSize) : eoMergeReduce<EOT>(plus, truncate), truncate(_tSize)
// {truncate.setSize(_tSize);}
{}
private :
eoPlus<EOT> plus;
eoEPReduce<EOT> truncate;
};
#endif