Thetype exposes the following members.
Gets a value indicating whether the random number generator has been used during the execution of any past code. This can be useful to determine whether a method or learning algorithm is fully deterministic or not. Note that it is also possible for a method to be non-deterministic even if it uses the random number generator if it use multiple threads.
Gets the timestamp for when the global random generator was last changed (i.e. after setting Seed).
Gets a reference to the random number generator used internally by the Accord.NET classes and methods. Objects retrieved from this property should not be shared across threads. Instead, call this property from each thread you would like to use a random generator for.
Sets a random seed for the framework's main internal number generator. Preferably, this method should be called before other computations. If set to a value less than or equal to zero, all generators will start with the same fixed seed, even among multiple threads. If set to any other value, the generators in other threads will start with fixed, but different, seeds.
Gets the timestamp for when the thread random generator was last changed (i.e. after creating the first random generator in this thread context or by setting ThreadSeed).
Gets or sets the seed for the current thread. Changing this seed will not impact other threads or generators that have already been created from this thread.
By setting Seed to a given value, it is possible to adjust how random numbers are generated within the framework. Preferably, this property should be adjusted before other computations.
If the Seed is set to a value that is less than or equal to zero, all generators will start with the same fixed seed, even among multiple threads. If set to any other value, the generators in other threads will start with fixed, but different, seeds.