debian man page for pgagetsortedpopindex

Query: pgagetsortedpopindex

OS: debian

Section: 8

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

PGAGetSortedPopIndex(8) 					      PGAPack						   PGAGetSortedPopIndex(8)

NAME
PGAGetSortedPopIndex - returns a population string index from the array created by PGASortPop().
INPUT PARAMETERS
ctx - context variable n - specified which index element is to be returned.
OUTPUT PARAMETERS
none
SYNOPSIS
#include "pgapack.h" int PGAGetSortedPopIndex(ctx, n) PGAContext *ctx int n
LOCATION
pop.c
EXAMPLE
Example: Copy the five best strings from the old population into the new population. The rest of the new population will be created by recombination, and is not shown. PGAContext *ctx; int i,j; : PGASetPopReplaceType(ctx,PGA_POPREPL_BEST) PGASortPop(ctx, PGA_OLDPOP); for ( i=0; i < 5; i++) { j = PGAGetSortedPopIndex(ctx, i); PGACopyIndividual (ctx, j, PGA_OLDPOP, i, PGA_NEWPOP); : 05/01/95 PGAGetSortedPopIndex(8)
Related Man Pages
pgaevaluate(1) - debian
modbus_send_raw_request(3) - debian
pgacreate(8) - debian
glxquerycontextinfoext(3g) - centos
lwres_conf_clear(3) - centos
Similar Topics in the Unix Linux Community
Introduction
One instance of comparing grep and awk
A (ksh) Library For and From UNIX.com
How to copy a column of multiple files and paste into new excel file (next to column)?
New UNIX and Linux History Sections