Function PGAEvaluateWorker
Defined in File parallel.c
Function Documentation
-
static void PGAEvaluateWorker(PGAContext *ctx, int pop, double (*evaluate)(PGAContext*, int, int, double*), MPI_Comm comm)
Evaluation worker routine.
Description
Sit around and wait for a string to eval to show up, then evaluate it and return the evaluation. Terminates when it receives
PGA_COMM_DONEWITHEVALS
.- Parameters:
ctx – context variable
pop – symbolic constant of the population to be evaluated
evaluate – a pointer to a function to evaluate a string.
comm – an MPI communicator
- Returns:
None