General ? About seed values

Oct 30, 2013 at 12:17pm

General ? About seed values

I understand seeding a random or drunk will give reproducable results but I was wondering if the size of the seed number (say 9 or 999) have any bearing on how long a sequence random will produce or is the seed just a strting point for an endless sequence?

I suspect the latter but I wasnt sure.

#269657
Oct 31, 2013 at 2:35pm

The two things are entirely independent.

The built-in Max random number generator has a fixed cycle length (IMS, 2^31, although it might be a factor of two higher or maybe a few factors smaller… check Numerical Recipes in C). The seed value basically is an (indeterminate) index into the cycle, so you start at a different place. But the length of the cycle remains the same.

For a more industrial-strength RNG, all I can do is point you to the Litter Power Package, which has RNGs with cycles starting at 2^88.

#269795

You must be logged in to reply to this topic.