Using again parallel apply into eoPopEvalFunc::eoParallelPopEvalFunc.
This commit is contained in:
parent
1d3790a0e4
commit
24c29db6f3
7 changed files with 125 additions and 35 deletions
|
|
@ -99,6 +99,15 @@ public:
|
|||
// empty
|
||||
}
|
||||
|
||||
~eoParallelPopLoopEval()
|
||||
{
|
||||
if( eo::mpi::Node::comm().rank() == masterRank )
|
||||
{
|
||||
eo::mpi::EmptyJob job( assignAlgo, masterRank );
|
||||
job.run();
|
||||
}
|
||||
}
|
||||
|
||||
/** Do the job: simple loop over the offspring */
|
||||
void operator()(eoPop<EOT> & _parents, eoPop<EOT> & _offspring)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue