eosim::dist::PoissonDist EoSimulator Programmer's Manual
NAME
PoissonDist: Poisson Distribution
SYNOPSIS
#include <eosim/dist/poissondist.hpp>
namespace eosim {
namespace dist {
class PoissonDist: public Distribution {
public:
PoissonDist (GenType gen_, double m_);
~PoissonDist ();
double sample ();
};
}
}
DESCRIPTION
This class sample values from a Poisson distribution.
CLASS OPERATIONS
PoissonDist (GenType gen_, double m_):
The constructor creates a PoissonDist with parameter m_ and whose generator’s type is gen_.
~PoissonDist ():
The destructor of PoissonDist.
double sample ():
This operation samples a value calculated iteratively.
SEE ALSO