Constructs a distribution with the given acceptance probability.
Synopsis
Declared in <absl/random/bernoulli_distribution.h>
explicit
bernoulli_distribution(double p);
Parameters
Name |
Description |
p |
The probability of producing |
Created with MrDocs