---
name: "PGAPrintIndividual"
section: "3"
platform: "linux"
package: "pgapack"
version: "1.0.0.1-3"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/PGAPrintIndividual"
---

# PGAPrintIndividual(3)

prints the allele values of a string and associated fields (evaluation, fitness, etc.) of a string

## NAME

PGAPrintIndividual - prints the allele values of a string and associated fields (evaluation, fitness, etc.) of a string

## INPUT 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

## OUTPUT PARAMETERS

- none

  ## SYNOPSIS

```
#include "pgapack.h"
void  PGAPrintIndividual(ctx, fp, p, pop)
PGAContext *ctx
FILE *fp
int p
int pop
```

## LOCATION

report.c

## EXAMPLE

```
Example:
PGAContext *ctx;
int p;
:
PGAPrintIndividual(ctx, stdout, p, PGA_NEWPOP);
```
