Constructs a distribution from a range of weights.
Declared in <absl/random/discrete_distribution.h>
template<typename InputIterator>
explicit
discrete_distribution(
InputIterator begin,
InputIterator end);
| Name | Description |
|---|---|
| begin | An iterator to the first weight. |
| end | An iterator past the last weight. |