.TH PGASetMaxSimilarityValue 8 "05/01/95" " " "PGAPack" .SH NAME PGASetMaxSimilarityValue \- Specifiy the maximum percent of homogeneity of the population before stopping. .SH DESCRIPTION The similarity measure is the same evaluation function value. The default value is 95 percent. The stopping rule PGA_STOP_TOOSIMILAR must have been set by PGASetStoppingRuleType for this function call to have any effect. .SH INPUT PARAMETERS .PD 0 .TP ctx - context variable .PD 0 .TP max_similarity - the maximum percent of the population that can share the same evaluation function value .PD 1 .SH OUTPUT PARAMETERS .PD 0 .TP none .PD 1 .SH SYNOPSIS .nf #include "pgapack.h" void PGASetMaxSimilarityValue(ctx, max_similarity) PGAContext *ctx int max_similarity .fi .SH LOCATION stop.c .SH EXAMPLE .nf Example: PGAContext *ctx; : PGASetMaxSimilarityValue(ctx,99); .fi