PGAUpdateGeneration3
Updates internal data structures for the next genetic algorithm iteration, and checks if the termination conditions, both user and pgapack, have been met. this routine must be called by both master and slave processes at the end of each ga generation.
Usage
void PGAUpdateGeneration(ctx,
comm)
PGAContext *ctx
MPI_Comm comm
Input parameters
ctx
|
- context variable |
|---|---|
comm
|
- an MPI communicator |
Output parameters
- none
Location
pga.c
Examples
Example: PGAContext *ctx; : PGAUpdateGeneration(ctx, MPI_COMM_WORLD);
Releases
8 releases since Debian 1.1 (Buzz); the text changed 1 time.