Last change
on this file since 815 was
815,
checked in by liveletlive, 17 years ago
|
Committing the /tmp/gekco/pgapack folder that contains the older PGAPack version and Prof. Klimecks changes to it.
|
File size:
1.0 KB
|
Line | |
---|
1 | .TH PGASetIntegerInitPermute 2 "05/01/95" " " "PGAPack" |
---|
2 | .SH NAME |
---|
3 | PGASetIntegerInitPermute \- sets a flag to tell the initialization routines |
---|
4 | to set each integer-valued gene to a random permutation of the values given |
---|
5 | by an upper and lower bound. The length of the interval must be the same |
---|
6 | as the string length. This is the default strategy for initializing |
---|
7 | integer-valued strings. The default interval is [0,L-1] where L is the |
---|
8 | string length. No string initialization is done by this call. |
---|
9 | .SH INPUT PARAMETERS |
---|
10 | .PD 0 |
---|
11 | .TP |
---|
12 | ctx |
---|
13 | - context variable |
---|
14 | .PD 0 |
---|
15 | .TP |
---|
16 | min |
---|
17 | - the lower bound of numbers used in the permutation |
---|
18 | .PD 0 |
---|
19 | .TP |
---|
20 | max |
---|
21 | - the upper bound of numbers used in the permutation |
---|
22 | .PD 1 |
---|
23 | .SH OUTPUT PARAMETERS |
---|
24 | .PD 0 |
---|
25 | .TP |
---|
26 | none |
---|
27 | |
---|
28 | .PD 1 |
---|
29 | .SH SYNOPSIS |
---|
30 | .nf |
---|
31 | #include "pgapack.h" |
---|
32 | void PGASetIntegerInitPermute(ctx, min, max) |
---|
33 | PGAContext *ctx |
---|
34 | int min |
---|
35 | int max |
---|
36 | .fi |
---|
37 | .SH LOCATION |
---|
38 | integer.c |
---|
39 | .SH EXAMPLE |
---|
40 | .nf |
---|
41 | Set the initialization routines to set each gene to a random and |
---|
42 | unique value from the interval $[500,599]$. |
---|
43 | |
---|
44 | PGAContext *ctx; |
---|
45 | : |
---|
46 | PGASetIntegerInitPermute(ctx, 500, 599)} |
---|
47 | |
---|
48 | .fi |
---|
Note: See
TracBrowser
for help on using the repository browser.