Rechercher une page de manuel
PGAGetMutationType
Langue: en
Version: 295328 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
PGAGetMutationType - Returns the type of mutation usedINPUT PARAMETERS
- ctx
- - context variable
OUTPUT PARAMETERS
- none
SYNOPSIS
#include "pgapack.h" int PGAGetMutationType(ctx) PGAContext *ctx
LOCATION
mutation.cEXAMPLE
Example: PGAContext *ctx; int mutatetype; : mutatetype = PGAGetMutationType(ctx); switch (mutatetype) { case PGA_MUTATION_CONSTANT: printf("Mutation Type = PGA_MUTATION_CONSTANT); break; case PGA_MUTATION_RANGE: printf("Mutation Type = PGA_MUTATION_RANGE); break; case PGA_MUTATION_UNIFORM: printf("Mutation Type = PGA_MUTATION_UNIFORM); break; case PGA_MUTATION_GAUSSIAN: printf("Mutation Type = PGA_MUTATION_GAUSSIAN); break; case PGA_MUTATION_PERMUTE: printf("Mutation Type = PGA_MUTATION_PERMUTE); break; }
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre