PGAGetBinaryAllele(3)

NAME
PGAGetBinaryAllele - returns the value of a (binary) allele in the string (binary string)

INPUT PARAMETERS
ctx - context variable
p   - string index
pop - symbolic constant of the population the string is in
i   - allele index

OUTPUT PARAMETERS
none

SYNOPSIS
#include "pgapack.h"
int  PGAGetBinaryAllele(ctx, p, pop, i)
PGAContext *ctx
int p
int pop
int i

LOCATION
binary.c

EXAMPLE
Returns the value of the ith binary allele of string p
in population PGA_NEWPOP
PGAContext *ctx;
int p, i, bit;
bit =  PGAGetBinaryAllele ( ctx, p, PGA_NEWPOP, i )