PGAGetRandomInitFlag(3)

PGAGetRandomInitFlag3

Returns true/false to indicate whether or not alleles are randomly initialized.

Part of PGAGetRandomInitFlag(2).

Usage

#include "pgapack.h"
int  PGAGetRandomInitFlag(ctx)
PGAContext *ctx

Input parameters

ctx

- context variable

Output parameters

none

Location

create.c

Examples

Example:
PGAContext *ctx;
int raninit;
:
raninit = PGAGetRandomInitFlag(ctx);
switch (raninit) {
case PGA_TRUE:
printf("Population is randomly initialized0);
break;
case PGA_FALSE:
printf("Population initialized to zero0);
break;
}

Releases

8 releases since Debian 1.1 (Buzz); the text changed 1 time.

  1. 1.1
  2. 1.2–3.1

From pgapack 1.0.0.1-3 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.