Generated on: Thu Mar 29 07:46:58 PDT 2012 for custom file set
// doxy/ or-tools/ src/ base/

operations_research::ACMRandom Class Reference

ACM minimal standard random number generator. (re-entrant.). More...

#include <random.h>

List of all members.

Public Member Functions

 ACMRandom (int32 seed)
int32 Next ()
int32 Uniform (int32 max_value)
int64 Next64 ()
float RndFloat ()
void Reset (int32 seed)

Static Public Member Functions

static int32 HostnamePidTimeSeed ()
 namespace
static int32 DeterministicSeed ()


Detailed Description

ACM minimal standard random number generator. (re-entrant.).

Definition at line 22 of file random.h.


Constructor & Destructor Documentation

operations_research::ACMRandom::ACMRandom ( int32  seed  )  [inline, explicit]

Definition at line 24 of file random.h.


Member Function Documentation

int32 operations_research::ACMRandom::Next (  ) 

Definition at line 32 of file random.cc.

int32 operations_research::ACMRandom::Uniform ( int32  max_value  ) 

Definition at line 54 of file random.cc.

int64 operations_research::ACMRandom::Next64 (  ) 

Definition at line 58 of file random.cc.

float operations_research::ACMRandom::RndFloat (  )  [inline]

Definition at line 28 of file random.h.

void operations_research::ACMRandom::Reset ( int32  seed  )  [inline]

Definition at line 32 of file random.h.

int32 operations_research::ACMRandom::HostnamePidTimeSeed (  )  [static]

namespace

Definition at line 72 of file random.cc.

int32 operations_research::ACMRandom::DeterministicSeed (  )  [static]

Definition at line 106 of file random.cc.


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