Query: pgahammingdistance
OS: debian
Section: 5
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PGAHammingDistance(5) PGAPack PGAHammingDistance(5)NAMEPGAHammingDistance - Calculates the mean Hamming distance for a population of binary strings.DESCRIPTIONFor all other data types returns a value of 0.0 and prints a warning message.INPUT PARAMETERSctx - context variable popindex - symbolic constant of the population for which the Hamming distance is to be calculated Output: The mean Hamming distance in the populationOUTPUT PARAMETERSnoneSYNOPSIS#include "pgapack.h" double PGAHammingDistance(ctx, popindex) PGAContext *ctx int popindexLOCATIONhamming.cEXAMPLE: hd = PGAHammingDistance(ctx, PGA_NEWPOP); 05/01/95 PGAHammingDistance(5)