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