Module pypcsim :: Class RandomEngine
[hide private]
[frames] | no frames]

Class RandomEngine

 object --+    
          |    
??.instance --+
              |
             RandomEngine
Known Subclasses:

Help on RandomEngine [class]:

 \file RandomEngine.h 
 \brief Random number generators (based on the boostrandom library) 
 
 This provides a minimal run-time polymorphism based interface to the 
 template based version provided by the boostrandom library. 
 
 
#ifdef _MSC_VER 
# pragma warning(disable:4244)  warning C4244: 'initializing' : conversion from 'boost::uint64_t' to 'boost::uint32_t', possible loss of data 
#endif 
 
#include date_timeposix_timeposix_time.hpp> 
using namespace boost::posix_time; 
 
#include random.hpp> 
 
#ifdef _MSC_VER 
# undef min 
# undef max 
#endif 
 
 Interface definition for a random number generator 
 Generates random numbers (double precision) distributed uniformly over the interval [0,1)

Instance Methods [hide private]
 
__call__(...)
Help on double RandomEngine::operator()() [member operator]
 
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
max(...)
Help on double RandomEngine::max() [member function]
 
min(...)
Help on double RandomEngine::min() [member function]
 
seed(...)
Help on void RandomEngine::seed(unsigned int s) [member function]

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  __instance_size__ = 16
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

seed(...)

 

Help on void RandomEngine::seed(unsigned int s) [member function]

Help on void RandomEngine::seed() [member function]