source: trunk/optimizer/src/pgapack/pgapack/man/man1/PGASetIntegerAllele.1 @ 816

Last change on this file since 816 was 816, checked in by liveletlive, 16 years ago

Committing the newer version of PGAPack.

File size: 734 bytes
Line 
1.TH PGASetIntegerAllele 1 "05/01/95" " " "PGAPack"
2.SH NAME
3PGASetIntegerAllele \- sets the value of a (integer) allele.
4.SH INPUT PARAMETERS
5.PD 0
6.TP
7ctx
8- context variable
9.PD 0
10.TP
11p
12- string index
13.PD 0
14.TP
15pop
16- symbolic constant of the population the string is in
17.PD 0
18.TP
19i
20- allele index
21.PD 0
22.TP
23val
24- integer value to set the allele to
25.PD 1
26.SH OUTPUT PARAMETERS
27.PD 0
28.TP
29none
30
31.PD 1
32.SH SYNOPSIS
33.nf
34#include "pgapack.h"
35void  PGASetIntegerAllele(ctx, p, pop, i, value)
36PGAContext *ctx
37int p
38int pop
39int i
40int value
41.fi
42.SH LOCATION
43integer.c
44.SH EXAMPLE
45.nf
46Set the value of the ith allele of string p in population PGA_NEWPOP
47to 64.
48
49PGAContext *ctx;
50int p, i;
51:
52PGASetIntegerAllele (ctx, p, PGA_NEWPOP, i, 64)
53
54.fi
Note: See TracBrowser for help on using the repository browser.