source: trunk/optimizer/src/pgapack/pgapack/man/man2/PGAGetRandomInitFlag.2 @ 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: 637 bytes
Line 
1.TH PGAGetRandomInitFlag 2 "05/01/95" " " "PGAPack"
2.SH NAME
3PGAGetRandomInitFlag \- returns true/false to indicate whether or not
4alleles are randomly initialized.
5.SH INPUT PARAMETERS
6.PD 0
7.TP
8ctx
9- context variable
10.PD 1
11.SH OUTPUT PARAMETERS
12.PD 0
13.TP
14none
15
16.PD 1
17.SH SYNOPSIS
18.nf
19#include "pgapack.h"
20int  PGAGetRandomInitFlag(ctx)
21PGAContext *ctx
22.fi
23.SH LOCATION
24create.c
25.SH EXAMPLE
26.nf
27Example:
28PGAContext *ctx;
29int raninit;
30:
31raninit = PGAGetRandomInitFlag(ctx);
32switch (raninit) {
33case PGA_TRUE:
34printf("Population is randomly initialized\n");
35break;
36case PGA_FALSE:
37printf("Population initialized to zero\n");
38break;
39}
40
41.fi
Note: See TracBrowser for help on using the repository browser.