PGASetRandomSeed
set a seed for the random number generator.
- Provided by: pgapack (Version: 1.1.1-3)
- Report a bug
set a seed for the random number generator.
The default is to use a random seed. Specifying a seed exlicitly allows for reproducibility of runs.
#include "pgapack.h" void PGASetRandomSeed(ctx, seed) PGAContext *ctx int seed
random.c
Example: PGAContext *ctx; : PGASetRandomSeed(ctx,1);