Function PGAGetMaxSimilarityValue

Function Documentation

int PGAGetMaxSimilarityValue(PGAContext *ctx)

Get the maximum percent of homogeneity of the population before stopping.

Example

PGAContext *ctx;
int max_similarity;

...
max_similarity = PGAGetMaxSimilarityValue (ctx);

Parameters
  • ctx – context variable

Returns

the maximum percent of the population that can share the same evaluation function value