Function PGAGetMaxRealInitValue

Function Documentation

double PGAGetMaxRealInitValue(PGAContext *ctx, int i)

Return the maximum value used to randomly initialize allele i in a real string.

Example

PGAContext *ctx;
int max;

...
max = PGAGetMaxRealInitValue (ctx, 0);

Parameters
  • ctx – context variable

  • i – an allele position

Returns

The maximum value used to randomly initialize allele i