EvolvingObjects
|
The class boolean_generator can be used in the STL generate function to easily generate random booleans with a specified bias. More...
#include <rnd_generators.h>
Public Member Functions | |
boolean_generator (float _bias=0.5, eoRng &_rng=rng) | |
bool | operator() (void) |
Private Attributes | |
float | bias |
eoRng & | gen |
The class boolean_generator can be used in the STL generate function to easily generate random booleans with a specified bias.
Definition at line 74 of file rnd_generators.h.