source: trunk/optimizer/src/pgapack/gekco/pgapack/man/man3/PGAGetMutationType.3 @ 815

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: 877 bytes
Line 
1.TH PGAGetMutationType 3 "05/01/95" " " "PGAPack"
2.SH NAME
3PGAGetMutationType \- Returns the type of mutation used
4.SH INPUT PARAMETERS
5.PD 0
6.TP
7ctx
8- context variable
9.PD 1
10.SH OUTPUT PARAMETERS
11.PD 0
12.TP
13none
14
15.PD 1
16.SH SYNOPSIS
17.nf
18#include "pgapack.h"
19int  PGAGetMutationType(ctx)
20PGAContext *ctx
21.fi
22.SH LOCATION
23mutation.c
24.SH EXAMPLE
25.nf
26Example:
27PGAContext *ctx;
28int mutatetype;
29:
30mutatetype = PGAGetMutationType(ctx);
31switch (mutatetype) {
32case PGA_MUTATION_CONSTANT:
33printf("Mutation Type = PGA_MUTATION_CONSTANT\n");
34break;
35case PGA_MUTATION_RANGE:
36printf("Mutation Type = PGA_MUTATION_RANGE\n");
37break;
38case PGA_MUTATION_UNIFORM:
39printf("Mutation Type = PGA_MUTATION_UNIFORM\n");
40break;
41case PGA_MUTATION_GAUSSIAN:
42printf("Mutation Type = PGA_MUTATION_GAUSSIAN\n");
43break;
44case PGA_MUTATION_PERMUTE:
45printf("Mutation Type = PGA_MUTATION_PERMUTE\n");
46break;
47}
48
49.fi
Note: See TracBrowser for help on using the repository browser.