absl::zipf_distribution::operator()

Generates a random integer.

Synopsis

Declared in <absl/random/zipf_distribution.h>

template<typename URBG>
result_type
operator()(URBG& g);

Return Value

A random integer distributed according to the parameter set.

Parameters

NameDescription
gThe uniform random bit generator.