26 #ifndef POISSONGROUP_H_ 27 #define POISSONGROUP_H_ 34 #include <boost/random/mersenne_twister.hpp> 35 #include <boost/random/uniform_int.hpp> 36 #include <boost/random/variate_generator.hpp> 37 #include <boost/random/exponential_distribution.hpp> 57 static boost::mt19937 gen;
58 boost::exponential_distribution<> * dist;
59 boost::variate_generator<boost::mt19937&, boost::exponential_distribution<> > * die;
87 void seed(
unsigned int s);
virtual ~PoissonGroup()
Definition: PoissonGroup.cpp:52
NeuronID x
Definition: PoissonGroup.h:66
Abstract base class of all objects producing spikes.
Definition: SpikingGroup.h:67
double AurynDouble
Higher precision floating point datatype.
Definition: auryn_definitions.h:158
int n
Definition: mkpat.py:5
Definition: ABSConnection.h:38
AurynDouble get_rate()
Definition: PoissonGroup.cpp:76
A SpikingGroup that creates poissonian spikes with a given rate.
Definition: PoissonGroup.h:52
virtual void evolve()
Definition: PoissonGroup.cpp:82
void set_rate(AurynDouble rate)
Definition: PoissonGroup.cpp:60
void seed(unsigned int s)
Definition: PoissonGroup.cpp:95
NeuronID AurynTime
Defines Auryns discrete time unit of the System clock. Change to AurynLong if 120h of simtime are not...
Definition: auryn_definitions.h:155
unsigned int NeuronID
NeuronID is an unsigned integeger type used to index neurons in Auryn.
Definition: auryn_definitions.h:151
PoissonGroup(NeuronID n, AurynDouble rate=5.)
Definition: PoissonGroup.cpp:47