absl::poisson_distribution::operator()

Generates a random integer using the given parameter set.

Synopsis

Declared in <absl/random/poisson_distribution.h>

template<typename URBG>
poisson_distribution<IntType>::result_type
operator()(
    URBG& g,
    param_type const& p);

Return Value

A random integer distributed according to p.

Parameters

NameDescription
gThe uniform random bit generator.
pThe parameter set to use for this call.