00001 /******************************************************************* 00002 * File: PoissonRng.h 00003 * Description: 00004 * Author: Subhasis Ray 00005 * E-mail: ray.subhasis@gmail.com 00006 * Created: 2007-11-07 16:22:35 00007 ********************************************************************/ 00008 /********************************************************************** 00009 ** This program is part of 'MOOSE', the 00010 ** Messaging Object Oriented Simulation Environment, 00011 ** also known as GENESIS 3 base code. 00012 ** copyright (C) 2003-2005 Upinder S. Bhalla. and NCBS 00013 ** It is made available under the terms of the 00014 ** GNU General Public License version 2 00015 ** See the file COPYING.LIB for the full notice. 00016 **********************************************************************/ 00017 00018 #ifndef _POISSONRNG_H 00019 #define _POISSONRNG_H 00020 #include "Poisson.h" 00021 #include "RandGenerator.h" 00022 class PoissonRng:public RandGenerator 00023 { 00024 public: 00025 PoissonRng(); 00026 virtual ~PoissonRng() { ; } 00027 void setMean(double mean); 00028 virtual void vReinit(const Eref& e, ProcPtr p); 00029 static const Cinfo * initCinfo(); 00030 }; 00031 00032 00033 #endif