Function PGAGetPTournamentProb

Function Documentation

double PGAGetPTournamentProb(PGAContext *ctx)

Return the probability of selecting the best string in a probabilistic binary tournament.

Example

PGAContext *ctx;
double pt;

...
pt = PGAGetPTournamentProb (ctx);

Parameters
  • ctx – context variable

Returns

The probabilistic binary tournament selection probability