set-scheduler-random-seed
seed
Parameters:
seed |
Integer |
The seed for the random number generator |
Description:
Sets the random seed of the thread scheduler to
seed. Integers allowed are in the range -2^31 to 2^31-1.
This is not the same seed as used by the random
command.
Notes:
Note: StarLogo uses the random generator provided by Java, which, as of now, is a linear congruential formula (Knuth Art of Computer Programming, Vol 2, Section 3.2.1.), which uses a 48-bit seed. StarLogo only allows you to set 32 bits of this seed.
Related Commands:
get-scheduler-random-seed
scheduler
switch-scheduler