Query: pgasetcrossovertype
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PGASetCrossoverType(3) PGAPack PGASetCrossoverType(3)NAMEPGASetCrossoverType - specify the type of crossover to use.DESCRIPTIONValid choices are PGA_CROSSOVER_ONEPT, PGA_CROSSOVER_TWOPT, or PGA_CROSSOVER_UNIFORM for one-point, two-point, and uniform crossover, respectively. The default is PGA_CROSSOVER_TWOPT.INPUT PARAMETERSctx - context variable crossover_type - symbolic constant to specify crossover typeOUTPUT PARAMETERSnoneSYNOPSIS#include "pgapack.h" void PGASetCrossoverType(ctx, crossover_type) PGAContext *ctx int crossover_typeLOCATIONcross.cEXAMPLEExample: Use uniform crossover when crossingover strings. PGAContext *ctx; : PGASetCrossoverType(ctx, PGA_CROSSOVER_UNIFORM); 05/01/95 PGASetCrossoverType(3)