PGAUpdateGeneration(3)

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.

  1. 1.1
  2. 1.2–3.1

From pgapack 1.0.0.1-3 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.