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