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

@ -117,7 +117,8 @@ protected:
*/
virtual void receive(void);
IslandModel<EOT>* model;
IslandModel<EOT>* model;
eoEvalFunc<EOT>& eval;
eoPop<EOT> pop;
EOAlgo<EOT> algo;
std::queue<eoPop<EOT>*> listImigrants;
@ -125,6 +126,7 @@ protected:
MigPolicy<EOT>& migPolicy;
std::atomic<bool> stopped;
std::vector<std::thread> sentMessages;
};
#include <island.cpp>