PGAPrintIndividual − prints the allele values of a string and associated fields (evaluation, fitness, etc.) of a string
ctx |
- context variable |
||
fp |
- file pointer to print the output to |
||
p |
- string index |
||
pop |
- symbolic constant of the population string p is in |
none |
#include "pgapack.h"
void PGAPrintIndividual(ctx, fp, p, pop)
PGAContext *ctx
FILE *fp
int p
int pop
report.c
Example:
PGAContext *ctx;
int p;
:
PGAPrintIndividual(ctx, stdout, p, PGA_NEWPOP);