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:
549 bytes
|
Line | |
---|
1 | .TH PGAGetFitness 1 "05/01/95" " " "PGAPack" |
---|
2 | .SH NAME |
---|
3 | PGAGetFitness \- returns the fitness value for a string |
---|
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 1 |
---|
18 | .SH OUTPUT PARAMETERS |
---|
19 | .PD 0 |
---|
20 | .TP |
---|
21 | none |
---|
22 | |
---|
23 | .PD 1 |
---|
24 | .SH SYNOPSIS |
---|
25 | .nf |
---|
26 | #include "pgapack.h" |
---|
27 | double PGAGetFitness(ctx, p, pop) |
---|
28 | PGAContext *ctx |
---|
29 | int p |
---|
30 | int pop |
---|
31 | .fi |
---|
32 | .SH LOCATION |
---|
33 | fitness.c |
---|
34 | .SH EXAMPLE |
---|
35 | .nf |
---|
36 | Example: |
---|
37 | PGAContext *ctx; |
---|
38 | int p; |
---|
39 | double fit; |
---|
40 | : |
---|
41 | fit = PGAGetFitness(ctx, p, PGA_NEWPOP); |
---|
42 | |
---|
43 | .fi |
---|
Note: See
TracBrowser
for help on using the repository browser.