Query: pgaupdategeneration
OS: debian
Section: 8
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PGAUpdateGeneration(8) PGAPack PGAUpdateGeneration(8)NAMEPGAUpdateGeneration - updates internal data structures for the next genetic algorithm iteration, and checks if the termination conditions, both user and PGAPack, have been met.DESCRIPTIONThis routine must be called by both master and slave processes at the end of each GA generation.INPUT PARAMETERSctx - context variable comm - an MPI communicatorOUTPUT PARAMETERSnoneSYNOPSIS#include "pgapack.h" void PGAUpdateGeneration(ctx, comm) PGAContext *ctx MPI_Comm commLOCATIONpga.cEXAMPLEExample: PGAContext *ctx; : PGAUpdateGeneration(ctx, MPI_COMM_WORLD); 05/01/95 PGAUpdateGeneration(8)