Query: pgarungm
OS: debian
Section: 8
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PGARunGM(8) PGAPack PGARunGM(8)NAMEPGARunGM - High-level routine to execute the genetic algorithm using the global model.DESCRIPTIONIt is called after PGACreate and PGASetup have been called. If a NULL communicator is given, a sequential execution method is used, other- wise, work is divided among the processors in the communicator.INPUT PARAMETERSctx - context variable evaluate - a pointer to the user's evaluation function, which must have the calling sequence shown in the example. comm - an MPI communicatorOUTPUT PARAMETERSnoneSYNOPSIS#include "pgapack.h" void PGARunGM(ctx, ctx, comm) PGAContext *ctx double (*f)(PGAContext *, int, int) MPI_Comm commLOCATIONparallel.cEXAMPLEExample: PGAContext *ctx; double f(PGAContext *ctx, int p, int pop); : PGARunGM(ctx, f, MPI_COMM_WORLD); 05/01/95 PGARunGM(8)