00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef _EXPONENTIALRNG_H
00019 #define _EXPONENTIALRNG_H
00020 #include "randnum.h"
00021 #include "../basecode/header.h"
00022 #include "RandGenerator.h"
00023 #include "Exponential.h"
00024
00029 class ExponentialRng: public RandGenerator
00030 {
00031 public:
00032 ExponentialRng();
00033 double getMean() const;
00034 void setMean(double mean);
00035 int getMethod() const;
00036 void setMethod(int method);
00037 virtual void vReinit( const Eref& e, ProcPtr p);
00038
00039 static const Cinfo* initCinfo();
00040
00041 private:
00042 double mean_;
00043 bool isMeanSet_;
00044 int method_;
00045
00046 };
00047
00048
00049 #endif