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

Random number generator singleton class More...

Static Public Member Functions

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

Properties

static int Seed [set]
 the random seed

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: