Main Page | Namespace List | Class List | File List | Class Members | File Members

MyRandom.h

Go to the documentation of this file.
00001 //
00002 // $Id: MyRandom.h,v 1.1 2004/03/01 09:47:26 min Exp $
00003 //
00004 
00005 #ifndef __MYRANDOM_H
00006 #define __MYRANDOM_H
00007 
00008 #include <stdlib.h>
00009 
00010 
00011 
00012 
00013 
00014 class MyRandom {
00015 
00016 public:
00017 
00018   MyRandom() {};
00019   ~MyRandom() {};
00020 
00021   static double uniform(double min, double max);
00022   static double gaussian();
00023 
00024   static void seed(unsigned int new_seed) { srand(new_seed); };
00025 
00026 
00027 private:
00028 
00029 
00030 };  // class MyRandom
00031 
00032 
00033 #endif
00034 
00035 

Generated on Tue Jun 14 11:37:51 2005 for evofunc by doxygen 1.3.6