Function PGAGetCrossoverBounceBackFlag

Function Documentation

int PGAGetCrossoverBounceBackFlag(PGAContext *ctx)

Return boolean to indicate whether crossed over strings are bounced back when exceeding the bounds.

Description

Return PGA_TRUE if restricted to the given range by bouncing out-of-range values back from the boundary, otherwise PGA_FALSE.

Example

PGAContext *ctx;
int val;

...
val = PGAGetCrossoverBounceBackFlag (ctx);

Parameters
  • ctx – context variable

Returns

flag indicating whether out-of-range values are bounced back