Function PGAPrintReport

Function Documentation

void PGAPrintReport(PGAContext *ctx, FILE *fp, int pop)

Print genetic algorithm statistics.

Description

The statistics that are printed are determined by PGASetPrintOptions().

Example

PGAContext *ctx;
int p;

...
PGAPrintReport (ctx, stdout, PGA_NEWPOP);

Parameters
  • ctx – context variable

  • fp – file pointer to print the output to

  • pop – symbolic constant of the population whose statistics are printed

Returns

genetic algorithm statistics are printed to fp