Query: pgachange
OS: debian
Section: 8
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PGAChange(8) PGAPack PGAChange(8)NAMEPGAChange - Repeatedly apply mutation to a string (with an increasing mutation rate) until one or more mutations have occurred.DESCRIPTIONThis routine is usually used with PGADuplicate to modify a duplicate string. It is not intended to replace PGAMutationINPUT PARAMETERSctx - context variable p - string index pop - symbolic constant of the population containing string pOUTPUT PARAMETERSnoneSYNOPSIS#include "pgapack.h" void PGAChange(ctx, p, pop) PGAContext *ctx int p int popLOCATIONduplcate.cEXAMPLEExample: Change any string in PGA_NEWPOP that is an exact copy of a string in PGA_OLDPOP. To be complete, we should check the population again if any changes are made; for simplicity, we don't. PGAContext *ctx; int b, n; : n = PGAGetPopsize(ctx); for (b=0; b<n; b++) if (PGADuplicate(ctx, b, PGA_NEWPOP, PGA_OLDPOP, n)) PGAChange(ctx, b, PGA_NEWPOP); 05/01/95 PGAChange(8)
Related Man Pages |
---|
pgasetrealinitrange(2) - debian |
pgadebugprint(3) - debian |
pgaduplicate(8) - debian |
pgasetuserfunction(8) - debian |
hx509_cert_keyusage_print(3) - freebsd |
Similar Topics in the Unix Linux Community |
---|
Installing Dash Shell on OS X Lion |
Introduction |
Weird 'find' results |
A (ksh) Library For and From UNIX.com |