.TH PGARunMutationOrCrossover 8 "05/01/95" " " "PGAPack" .SH NAME PGARunMutationOrCrossover \- Performs crossover or mutation (but not both) from one populationto create the next. .SH DESCRIPTION Assumes PGASelect has been called. .SH INPUT PARAMETERS .PD 0 .TP ctx - context variable .PD 0 .TP oldpop - symbolic constant of old population .PD 0 .TP newpop - symbolic constant of new population .PD 1 .SH OUTPUT PARAMETERS .PD 0 .TP side -effect. .PD 1 .SH SYNOPSIS .nf #include "pgapack.h" void PGARunMutationOrCrossover(ctx, oldpop, newpop) PGAContext *ctx int oldpop int newpop .fi .SH LOCATION pga.c .SH EXAMPLE .nf PGAContext *ctx, : PGARunMutationOrCrossover(ctx, PGA_OLDPOP, PGA_NEWPOP); .fi