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
NReco.CF RandomUtils
Namespace: NReco.CF
Assembly: NReco.Recommender (in NReco.Recommender.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The RandomUtils type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
getRandom | ||
getRandom(Int64) | ||
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
hashDouble | ||
hashFloat | ||
nextTwinPrime | ||
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
useTestSeed |
Fields
Name | Description | |
---|---|---|
MAX_INT_SMALLER_TWIN_PRIME |
See Also