nextBool method
Generates a random boolean explicitly modeling a coin-flip.
Maps conceptually to C++ std::bernoulli_distribution.
Implementation
bool nextBool() {
return _generator.nextBool();
}
Generates a random boolean explicitly modeling a coin-flip.
Maps conceptually to C++ std::bernoulli_distribution.
bool nextBool() {
return _generator.nextBool();
}