Function PGAGetRestartFrequencyValue
Defined in File restart.c
Function Documentation
-
int PGAGetRestartFrequencyValue(PGAContext *ctx)
Return the number of iterations of no change in the best string after which the algorithm should restart.
Example
PGAContext *ctx; int frq; ... frq = PGAGetRestartFrequencyValue (ctx);
- Parameters:
ctx – context variable
- Returns:
The number of iteration of no change required for a restart