RandomUtils ClassNReco.Recommender Class Library
The source of random stuff for the whole project. This lets us make all randomness in the project predictable, if desired, for when we run unit tests, which should be repeatable.
Inheritance Hierarchy

System Object
  NReco.CF RandomUtils

Namespace: NReco.CF
Assembly: NReco.Recommender (in NReco.Recommender.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public sealed class RandomUtils

The RandomUtils type exposes the following members.

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodStatic membergetRandom 
Public methodStatic membergetRandom(Int64)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberhashDouble
Public methodStatic memberhashFloat
Public methodStatic membernextTwinPrime
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberuseTestSeed
Top
Fields

  NameDescription
Public fieldStatic memberMAX_INT_SMALLER_TWIN_PRIME
Top
See Also