Rosetta Utilities  2014.35
Public Member Functions | List of all members
numeric::random::uniform_RG Class Referenceabstract

Uniform random number generator. More...

#include <uniform.hh>

Public Member Functions

 uniform_RG ()
 
virtual ~uniform_RG ()
 
virtual void setSeed (int const seed)=0
 
virtual void setSeed (std::string const &seed)=0
 
virtual int getSeed ()=0
 
virtual double getRandom ()=0
 
virtual void saveState (std::ostream &out)=0
 
virtual void restoreState (std::istream &in)=0
 
- Public Member Functions inherited from utility::pointer::ReferenceCount
void ctor ()
 
virtual ~ReferenceCount ()
 Destructor. More...
 
Size ref_count () const
 Reference count. More...
 

Additional Inherited Members

- Public Types inherited from utility::pointer::ReferenceCount
typedef platform::Size Size
 
typedef platform::Size size_type
 
- Protected Member Functions inherited from utility::pointer::ReferenceCount
 ReferenceCount ()
 Default constructor. More...
 
 ReferenceCount (ReferenceCount const &)
 Copy constructor. More...
 
ReferenceCountoperator= (ReferenceCount const &)
 Copy assignment. More...
 

Detailed Description

Uniform random number generator.

Constructor & Destructor Documentation

numeric::random::uniform_RG::uniform_RG ( )
inline
virtual numeric::random::uniform_RG::~uniform_RG ( )
inlinevirtual

Member Function Documentation

virtual double numeric::random::uniform_RG::getRandom ( )
pure virtual
virtual int numeric::random::uniform_RG::getSeed ( )
pure virtual
virtual void numeric::random::uniform_RG::restoreState ( std::istream &  in)
pure virtual
virtual void numeric::random::uniform_RG::saveState ( std::ostream &  out)
pure virtual
virtual void numeric::random::uniform_RG::setSeed ( int const  seed)
pure virtual
virtual void numeric::random::uniform_RG::setSeed ( std::string const &  seed)
pure virtual

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