eoBooleanGenerator Class Reference

The class eoBooleanGenerator can be used in the STL generate function to easily generate random booleans with a specified bias. More...

#include <eoRndGenerators.h>

Inheritance diagram for eoBooleanGenerator:

eoRndGenerator< bool > eoF< bool > eoFunctorBase List of all members.

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
eoRnggen

Detailed Description

The class eoBooleanGenerator can be used in the STL generate function to easily generate random booleans with a specified bias.

Definition at line 104 of file eoRndGenerators.h.


The documentation for this class was generated from the following file:
Generated on Thu Oct 19 05:06:45 2006 for EO by  doxygen 1.3.9.1