Set flags to indicate what ga statistics should be printed whenever output is printed.
May be called more than once to specify different report options. Valid choices are PGA_REPORT_AVERAGE, PGA_REPORT_OFFLINE, PGA_REPORT_ONLINE, PGA_REPORT_WORST, PGA_REPORT_HAMMING, and PGA_REPORT_STRING to specify offline analysis, online analysis, the worst string in the population, the Hamming distance of the population, and the actual allele values of the best string. The best string is always printed.
ctx
- context variable
option
- symbolic constant to specify a print option
none
#include "pgapack.h" void PGASetPrintOptions(ctx, option) PGAContext *ctx int option
report.c
Example: PGAContext *ctx; : PGASetPrintOptions(ctx, PGA_REPORT_WORST);