Returns the number of the current genetic algorithm generation
ctx
- context variable
none
#include "pgapack.h" int PGAGetGAIterValue(ctx) PGAContext *ctx
pga.c
Example: PGAContext *ctx; int g; : g = PGAGetGAIterValue(ctx);