Function PGASetEpsilonTheta

Function Documentation

void PGASetEpsilonTheta(PGAContext *ctx, int theta)

Set the theta generation value that is used for initializing the epsilon constraint.

Description

The initial population is sorted by constraint violation and the individual with index theta is used for initializing the initial epsilon for the epsilon constraint method.

Example

PGAContext *ctx;

...
PGASetEpsilonTheta (ctx, n);

Parameters
  • ctx – context variable

  • theta – population index

Returns

None