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