00001 #ifndef SimpleRandomizer_h
00002 #define SimpleRandomizer_h
00003
00004 #include "Randomizer.h"
00005
00009 class SimpleRandomizer : public Randomizer
00010 {
00011 public:
00012 SimpleRandomizer(unsigned int seed = 0);
00013
00014 int getRandomInteger(int p, int q);
00015
00016 int getRandomInteger(int size);
00017
00018 double getRandomDouble();
00019
00020 void registerParameters(StateP s);
00021
00025 bool initialize(StateP s);
00026 };
00027
00028 typedef boost::shared_ptr<SimpleRandomizer> SimpleRandomizerP;
00029
00030 #endif
00031