MyMediaLite  3.11
Static Public Member Functions | Properties | List of all members
Random Class Reference

Random number generator singleton class More...

Inheritance diagram for Random:

Static Public Member Functions

static Random GetInstance ()
 Gets the instance. If it does not exist yet, it will be created. More...
 
static void Init ()
 (Re-)initialize the instance More...
 

Properties

static int Seed [set]
 the random seed More...
 

Detailed Description

Random number generator singleton class

Member Function Documentation

static Random GetInstance ( )
inlinestatic

Gets the instance. If it does not exist yet, it will be created.

Returns
the singleton instance
static void Init ( )
inlinestatic

(Re-)initialize the instance

Property Documentation

int Seed
staticset

the random seed


The documentation for this class was generated from the following file: