EvolvingObjects
|
00001 #ifdef _MSC_VER 00002 // to avoid long name warnings 00003 #pragma warning(disable:4786) 00004 #endif 00005 00006 #include <ctime> 00007 #include "eoRNG.h" 00008 00009 // initialize static constants 00010 const uint32_t eoRng::K(0x9908B0DFU); 00011 const int eoRng::M(397); 00012 const int eoRng::N(624); 00013 00014 namespace eo 00015 { 00016 // global random number generator object 00017 eoRng rng(static_cast<uint32_t>(time(0))); 00018 }