Function PGAGetRandomSeed

Function Documentation

int PGAGetRandomSeed(PGAContext *ctx)

Return the integer the random number generator was seeded with.

Example

PGAContext *ctx;
int seed;

...
seed = PGAGetRandomSeed (ctx);

Parameters
  • ctx – context variable

Returns

The seed for the random number generator