Query: pgasetmutationandcrossoverflag
OS: debian
Section: 8
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PGASetMutationAndCrossoverFlag(8) PGAPack PGASetMutationAndCrossoverFlag(8)NAMEPGASetMutationAndCrossoverFlag - A boolean flag to indicate if recombination uses both crossover and mutation on selected stringsINPUT PARAMETERSctx - context variable flag - PGA_TRUE (default) or PGA_FALSEOUTPUT PARAMETERSnoneSYNOPSIS#include "pgapack.h" void PGASetMutationAndCrossoverFlag(ctx, flag) PGAContext *ctx int flagLOCATIONpga.cEXAMPLEExample: Set the genetic algorithm to use both crossover and mutation when reproducing strings. PGAContext *ctx; : PGASetMutationAndCrossoverFlag(ctx,PGA_FALSE); 05/01/95 PGASetMutationAndCrossoverFlag(8)