Random Class Reference
[Math]

This algorithm was snagged off usenet in the 80's. More...

#include <Random.h>

List of all members.

Public Member Functions

 Random (int seed)
 Random (const Random &rnd)
Randomoperator= (const Random &rnd)
int Next ()
int Next (int max)
int Next (int min, int max)
void NextBytes (byte *data, int len)
int NextInt ()
double NextDouble ()

Protected Attributes

uint32 combo_x
uint32 combo_y
uint32 combo_z
uint32 combo_v

Detailed Description

This algorithm was snagged off usenet in the 80's.

Todo:
Identify the algorithm used, or at least analyze its randomness.

Definition at line 32 of file Random.h.


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