Specifies the frequency with which genetic algorithm statistics are reported.
The default is every 10 GA iterations. Used only if PGARun() is used to run the GA.
ctx
- context variable
print_freq
- the genetic algorithm population size to use
none
#include "pgapack.h" void PGASetPrintFrequencyValue(ctx, print_freq) PGAContext *ctx int print_freq
report.c
Example: PGAContext *ctx; : PGASetPrintFrequencyValue(ctx,1);