An evaluation is performed before the replacement by the island
This commit is contained in:
parent
3ae7dcc60c
commit
60a119e4c9
5 changed files with 13 additions and 57 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue