Query: pgagetmutationtype
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PGAGetMutationType(3) PGAPack PGAGetMutationType(3)NAMEPGAGetMutationType - Returns the type of mutation usedINPUT PARAMETERSctx - context variableOUTPUT PARAMETERSnoneSYNOPSIS#include "pgapack.h" int PGAGetMutationType(ctx) PGAContext *ctxLOCATIONmutation.cEXAMPLEExample: PGAContext *ctx; int mutatetype; : mutatetype = PGAGetMutationType(ctx); switch (mutatetype) { case PGA_MUTATION_CONSTANT: printf("Mutation Type = PGA_MUTATION_CONSTANT0); break; case PGA_MUTATION_RANGE: printf("Mutation Type = PGA_MUTATION_RANGE0); break; case PGA_MUTATION_UNIFORM: printf("Mutation Type = PGA_MUTATION_UNIFORM0); break; case PGA_MUTATION_GAUSSIAN: printf("Mutation Type = PGA_MUTATION_GAUSSIAN0); break; case PGA_MUTATION_PERMUTE: printf("Mutation Type = PGA_MUTATION_PERMUTE0); break; } 05/01/95 PGAGetMutationType(3)