An evaluation is performed before the replacement by the island

This commit is contained in:
quemy 2012-11-20 22:38:29 +01:00
commit 60a119e4c9
5 changed files with 13 additions and 57 deletions

View file

@ -45,21 +45,7 @@ The island model will check its policy to know how to integrate population sent
*/
template <class EOT>
class IntPolicy
{
public:
/**
* Constructor
* @param _eval Method to evaluate the population to integrate.
* @param _replace Method to replace elements in the island.
*/
IntPolicy(eoEvalFunc<EOT>& _eval, eoReplacement<EOT>& _replace);
eoEvalFunc<EOT>& eval;
eoReplacement<EOT>& replace;
};
#include<intPolicy.cpp>
using IntPolicy = eoReplacement<EOT>;
}