Function PGAGetIntegerInitType

Function Documentation

int PGAGetIntegerInitType(PGAContext *ctx)

Return the type of scheme used to randomly initialize strings of data type integer.

Example

PGAContext *ctx;
int inittype;

...
inittype = PGAGetIntegerInitType (ctx);
switch (inittype) {
case PGA_IINIT_PERMUTE:
    printf ("Data Type = PGA_IINIT_PERMUTE\n");
    break;
case PGA_IINIT_RANGE:
    printf ("Data Type = PGA_IINIT_RANGE\n");
    break;
}

Parameters
  • ctx – context variable

Returns

Returns the integer corresponding to the symbolic constant used to specify the scheme used to initialize integer strings.