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

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: 739 bytes
Line 
1.TH PGASetPTournamentProb 3 "05/01/95" " " "PGAPack"
2.SH NAME
3PGASetPTournamentProb \- Specifies the probability that the string that wins
4a binary tournament will be selected.  This function will have no effect
5unless PGA_SELECT_PTOURNAMENT was specified as the type of selection to
6use with PGASetSelectType.  The default value is 0.6.
7.SH INPUT PARAMETERS
8.PD 0
9.TP
10ctx
11- context variable
12.PD 0
13.TP
14p
15- the probability of selecting the better string
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  PGASetPTournamentProb(ctx, ptournament_prob)
27PGAContext *ctx
28double ptournament_prob
29.fi
30.SH LOCATION
31select.c
32.SH EXAMPLE
33.nf
34Example:
35PGAContext *ctx;
36:
37PGASetPTournamentProb(ctx,0.8);
38
39.fi
Note: See TracBrowser for help on using the repository browser.