source: trunk/optimizer/src/pgapack/pgapack/man/man3/PGASetMutationProb.3 @ 816

Last change on this file since 816 was 816, checked in by liveletlive, 16 years ago

Committing the newer version of PGAPack.

File size: 686 bytes
Line 
1.TH PGASetMutationProb 3 "05/01/95" " " "PGAPack"
2.SH NAME
3PGASetMutationProb \- Specifies the probability that a given allele will
4be mutated.  If this is called without calling PGASetMutationType(), the
5default mutation type is PGA_MUTATION_FIXED.  The default probability is
6the reciprocal of the string length.
7.SH INPUT PARAMETERS
8.PD 0
9.TP
10ctx
11- context variable
12.PD 0
13.TP
14p
15- the mutation probability
16.PD 1
17.SH OUTPUT PARAMETERS
18.PD 0
19.TP
20none
21
22.PD 1
23.SH SYNOPSIS
24.nf
25#include "pgapack.h"
26void  PGASetMutationProb(ctx, mutation_prob)
27PGAContext *ctx
28double mutation_prob
29.fi
30.SH LOCATION
31mutation.c
32.SH EXAMPLE
33.nf
34Example:
35PGAContext *ctx;
36:
37PGASetMutationProb(ctx,0.001);
38
39.fi
Note: See TracBrowser for help on using the repository browser.