/* * RandomNumberEngine.hpp * * Created on: Jan 01, 2011 * Author: heber */ #ifndef RANDOMNUMBERENGINE_HPP_ #define RANDOMNUMBERENGINE_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif /** Abstract base class for a random number engine. * * This class represents the interface to the random number engine. * Hence, they all can be accessed the same way. * * It is also the base class that is needed for RandomNumberGeneratorFactory. */ class RandomNumberEngine { public: /** Set the generator's seed. * * @param _seed seed to set to */ virtual void seed(unsigned int _seed)=0; /** Getter for the type name of the internal engine. * */ virtual std::string name()=0; RandomNumberEngine() {}; virtual ~RandomNumberEngine() {}; }; #endif /* RANDOMNUMBERENGINE_HPP_ */