PGAUpdateGeneration(8)

PGAUpdateGeneration8

Updates internal data structures for the next genetic algorithm iteration, and checks if the termination conditions, both user and pgapack, have been met.

Usage

void PGAUpdateGeneration(ctx, comm)

PGAContext *ctx

MPI_Comm comm

Overview

This routine must be called by both master and slave processes at the end of each GA generation.

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

Unchanged in 4 releases since Debian 5.0 (Lenny).

  1. 5.0–8

From pgapack 1.1.1-3 in Debian 8 (Jessie). Parsed by carta from the page's man source.