Function PGAEvaluateMP
Defined in File parallel.c
Function Documentation
-
static void PGAEvaluateMP(PGAContext *ctx, int pop, MPI_Comm comm)
Internal evaluation function, multiprocessing version.
Description
Evaluates all strings that need evaluating using three or more processors. The rank-0 process sends individuals to evaluate to all other processes and collects the results. The rank-0 process performs no evaluations itself.
- Parameters:
ctx – context variable
pop – symbolic constant of the population to be evaluated
comm – an MPI communicator
- Returns:
None