.TH PGASetIntegerInitPermute 2 "05/01/95" " " "PGAPack" .SH NAME PGASetIntegerInitPermute \- 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. .SH DESCRIPTION The 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. .SH INPUT PARAMETERS .PD 0 .TP ctx - context variable .PD 0 .TP min - the lower bound of numbers used in the permutation .PD 0 .TP max - the upper bound of numbers used in the permutation .PD 1 .SH OUTPUT PARAMETERS .PD 0 .TP none .PD 1 .SH SYNOPSIS .nf #include "pgapack.h" void PGASetIntegerInitPermute(ctx, min, max) PGAContext *ctx int min int max .fi .SH LOCATION integer.c .SH EXAMPLE .nf Set the initialization routines to set each gene to a random and unique value from the interval $[500,599]$. PGAContext *ctx; : PGASetIntegerInitPermute(ctx, 500, 599)} .fi