00001
00007 #ifndef SYNAPTIC_RANDOMIZER_
00008 #define SYNAPTIC_RANDOMIZER_
00009
00010 #include<random>
00011 using namespace std;
00012
00013 namespace jymlp{
00014
00015 class SynapticRandomizer{
00016 protected:
00017 mt19937 *generator = nullptr;
00018 public:
00019 SynapticRandomizer() = delete;
00025 SynapticRandomizer(mt19937 *igenerator);
00027 double rndU1();
00029 double rndU(double a);
00030 };
00031 }
00032
00033 #endif