Sage Modeling and Simulation Library

RandomServer Constructor (UInt64, Int32)

Creates a RandomServer with a specified hyperSeed and default buffer size.

Namespace:  Highpoint.Sage.Randoms
Assembly:  Sage4 (in Sage4.dll)


public RandomServer(
	ulong hyperSeed,
	int defaultBufferSize


Type: UInt64
This is the seed that will initialize the PRNG that provides seeds for RandomChannels that do not have a specified seed. This is a way of having an entire model's sequence be repeatable without having to hard code all of the RC's seed values.
Type: Int32
The buffer size that will be applied to channels that do not have an explicit buffer zsize specified. This provides a good way to switch the entire model's buffering scheme on or off at one location.