Last change
on this file since 815 was
815,
checked in by liveletlive, 16 years ago
|
Committing the /tmp/gekco/pgapack folder that contains the older PGAPack version and Prof. Klimecks changes to it.
|
File size:
800 bytes
|
Line | |
---|
1 | .TH PGASetEvaluation 1 "05/01/95" " " "PGAPack" |
---|
2 | .SH NAME |
---|
3 | PGASetEvaluation \- Set the evaluation function value for a string to a |
---|
4 | specified value. Also sets the evaulation up to date flag to PGA_TRUE. |
---|
5 | .SH INPUT PARAMETERS |
---|
6 | .PD 0 |
---|
7 | .TP |
---|
8 | ctx |
---|
9 | - context variable |
---|
10 | .PD 0 |
---|
11 | .TP |
---|
12 | p |
---|
13 | - string index |
---|
14 | .PD 0 |
---|
15 | .TP |
---|
16 | pop |
---|
17 | - symbolic constant of the population string p is in |
---|
18 | .PD 0 |
---|
19 | .TP |
---|
20 | val |
---|
21 | - the (user) evaluation value to assign to string p |
---|
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 PGASetEvaluation(ctx, p, pop, val) |
---|
33 | PGAContext *ctx |
---|
34 | int p |
---|
35 | int pop |
---|
36 | double val |
---|
37 | .fi |
---|
38 | .SH LOCATION |
---|
39 | evaluate.c |
---|
40 | .SH EXAMPLE |
---|
41 | .nf |
---|
42 | Example: |
---|
43 | Set the evaluation function value of string p in population PGA_NEWPOP |
---|
44 | to 123.456. |
---|
45 | |
---|
46 | PGAContext *ctx; |
---|
47 | int p; |
---|
48 | : |
---|
49 | PGASetEvaluation(ctx, p, PGA_NEWPOP, 123.456); |
---|
50 | |
---|
51 | .fi |
---|
Note: See
TracBrowser
for help on using the repository browser.