Function PGAGetRestartFlag

Function Documentation

int PGAGetRestartFlag(PGAContext *ctx)

Return whether the algorithm should employ the restart operator.

Example

PGAContext *ctx;
int val;

...
val = PGAGetRestartFlag (ctx);

Parameters
  • ctx – context variable

Returns

true if restarting is enabled