Function PGAGetMutationBoundedFlag

Function Documentation

int PGAGetMutationBoundedFlag(PGAContext *ctx)

Return flag to indicate whether mutated integer strings remain in the initialization range.

Description

The initialization range is specified when initialized with PGASetIntegerInitRange().

Example

PGAContext *ctx;
int val;

...
val = PGAGetMutationBoundedFlag (ctx);

Parameters
  • ctx – context variable

Returns

true if restricted to the given range