Function PGAPrintIndividual
Defined in File report.c
Function Documentation
-
void PGAPrintIndividual(PGAContext *ctx, FILE *fp, int p, int pop)
Print the allele values of a string and associated fields (evaluation, fitness, etc.) of a string.
Example
PGAContext *ctx; int p; ... PGAPrintIndividual (ctx, stdout, p, PGA_NEWPOP);
- Parameters:
ctx – context variable
fp – file pointer to print the output to
p – string index
pop – symbolic constant of the population string p is in
- Returns:
The allele values of string p and associated fields are printed to fp