EvolvingObjects
eoBooleanInit Class Reference

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

#include <eoUniformInit.h>

Inheritance diagram for eoBooleanInit:
eoInit< bool > eoUF< bool &, void > eoFunctorBase unary_function

List of all members.

Public Member Functions

 eoBooleanInit (float _bias=0.5, eoRng &_rng=rng)
void operator() (bool &_b)
 The pure virtual function that needs to be implemented by the subclass.

Private Attributes

float bias
eoRnggen

Detailed Description

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

for booleans

Definition at line 115 of file eoUniformInit.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends