This is the command PGASetIntegerAllele that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
PROGRAM:
NAME
PGASetIntegerAllele - sets the value of a (integer) allele.
INPUT PARAMETERS
ctx - context variable
p - string index
pop - symbolic constant of the population the string is in
i - allele index
val - integer value to set the allele to
OUTPUT PARAMETERS
none
SYNOPSIS
#include "pgapack.h"
void PGASetIntegerAllele(ctx, p, pop, i, value)
PGAContext *ctx
int p
int pop
int i
int value
LOCATION
integer.c
EXAMPLE
Set the value of the ith allele of string p in population PGA_NEWPOP
to 64.
PGAContext *ctx;
int p, i;
:
PGASetIntegerAllele (ctx, p, PGA_NEWPOP, i, 64)
05/01/95 PGASetIntegerAllele(1)
Use PGASetIntegerAllele online using onworks.net services