Function PGASetRestartFlag

Function Documentation

void PGASetRestartFlag(PGAContext *ctx, int val)

Specify whether the algorithm should employ the restart operator.

Description

By default no restart is performed.

Example

PGAContext *ctx;

...
PGASetRestartFlag (ctx, PGA_TRUE);

Parameters
  • ctx – context variable

  • val – boolean variable

Returns

None