Poster of Linux kernelThe best gift for a Linux geek
PGASetMutationBoundedFlag

PGASetMutationBoundedFlag

Section: PGAPack (3) Updated: 05/01/95
Local index Up
 

NAME

PGASetMutationBoundedFlag - If this flag is set to PGA_TRUE, then for Integer and Real strings whenever a gene is mutated, if it underflows (overflows) the lower (upper)bound it is reset to the lower (upper) bound.  

DESCRIPTION

In this way all allele values remain within the range the integer strings were initialized on. If this flag is PGA_FALSE (the default), the alleles may take any values.  

INPUT PARAMETERS

ctx
- context variable
flag
- either PGA_TRUE or PGA_FALSE
 

OUTPUT PARAMETERS

none

 

SYNOPSIS

#include "pgapack.h"
void  PGASetMutationBoundedFlag(ctx, val)
PGAContext *ctx
int val
 

LOCATION

mutation.c  

EXAMPLE

Example:
PGAContext *ctx;
:
PGASetMutationBoundedFlag(ctx, PGA_TRUE);


 

Index

NAME
DESCRIPTION
INPUT PARAMETERS
OUTPUT PARAMETERS
SYNOPSIS
LOCATION
EXAMPLE

This document was created by man2html, using the manual pages.
Time: 21:52:26 GMT, April 16, 2011