Sage Modeling and Simulation Library

GlobalRandomServer Members

The GlobalRandomServer type exposes the following members.

Methods


  Name Description
Public method Equals(System.Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method Static member SetBufferSize
Sets the size of the buffer for each of the double-buffer sides. Generation is done into one buffer on a worker thread while service is taken from the other.
Public method Static member SetGlobalRandomChannelBufferSize
Sets the size of the buffer for each of the double-buffer sides of the GlobalRandomChannel. Generation is done into one buffer on a worker thread while service is taken from the other.
Public method Static member SetGlobalRandomChannelSeed
Sets the seed for the GlobalRandomChannel. The seed must be set before the first call to use the GlobalRandomChannel.
Public method Static member SetSeed
Sets the random seed for the global random server. This is a super-seed which is used to seed any channels not otherwise explicitly seeded that are obtained from the Global Random Server.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties


  Name Description
Public property Static member GlobalRandomChannel
Gets the global random channel.
Public property Static member Instance
Gets the singleton instance of the global random server.