Query: pgagetmutationandcrossoverflag
OS: debian
Section: 8
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PGAGetMutationAndCrossoverFlag(8) PGAPack PGAGetMutationAndCrossoverFlag(8)NAMEPGAGetMutationAndCrossoverFlag - Returns true if mutation occurs only when crossover does.INPUT PARAMETERSctx - context variableOUTPUT PARAMETERScrossed -over strings. Otherwise, returns PGA_FALSESYNOPSIS#include "pgapack.h" int PGAGetMutationAndCrossoverFlag(ctx) PGAContext *ctxLOCATIONpga.cEXAMPLEPGAContext *ctx; int mutatetype; : mutatetype = PGAGetMutationAndCrossoverFlag(ctx); switch (mutatetype) { case PGA_TRUE: printf("Mutating strings only after crossover0); break; case PGA_FALSE: printf("Only mutating strings not undergoing crossover0); break; } 05/01/95 PGAGetMutationAndCrossoverFlag(8)