Function PGAGetRealInitType

Function Documentation

int PGAGetRealInitType(PGAContext *ctx)

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

Example

PGAContext *ctx;
int inittype;

...
inittype = PGAGetRealInitType (ctx);
switch (inittype) {
case PGA_RINIT_PERCENT:
    printf ("Data Type = PGA_RINIT_PERCENT\n");
    break;
case PGA_RINIT_RANGE:
    printf ("Data Type = PGA_RINIT_RANGE\n");
    break;
}

Parameters
  • ctx – context variable

Returns

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