Query: pgasetintegerinitpermute
OS: debian
Section: 2
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PGASetIntegerInitPermute(2) PGAPack PGASetIntegerInitPermute(2)NAMEPGASetIntegerInitPermute - sets a flag to tell the initialization routines to set each integer-valued gene to a random permutation of the values given by an upper and lower bound.DESCRIPTIONThe length of the interval must be the same as the string length. This is the default strategy for initializing integer-valued strings. The default interval is [0,L-1] where L is the string length. No string initialization is done by this call.INPUT PARAMETERSctx - context variable min - the lower bound of numbers used in the permutation max - the upper bound of numbers used in the permutationOUTPUT PARAMETERSnoneSYNOPSIS#include "pgapack.h" void PGASetIntegerInitPermute(ctx, min, max) PGAContext *ctx int min int maxLOCATIONinteger.cEXAMPLESet the initialization routines to set each gene to a random and unique value from the interval $[500,599]$. PGAContext *ctx; : PGASetIntegerInitPermute(ctx, 500, 599)} 05/01/95 PGASetIntegerInitPermute(2)