#include <eoOneMaxInit.h>
Inheritance diagram for eoOneMaxInit< GenotypeT >:

Public Member Functions | |
| eoOneMaxInit (unsigned _vecSize) | |
| Ctor - no requirement. | |
| void | operator() (GenotypeT &_genotype) |
| initialize a genotype | |
Private Attributes | |
| unsigned | vecSize |
There is NO ASSUMPTION on the class GenoypeT. In particular, it does not need to derive from EO (e.g. to initialize atoms of an eoVector you will need an eoInit<AtomType>)
Definition at line 26 of file eoOneMaxInit.h.
| void eoOneMaxInit< GenotypeT >::operator() | ( | GenotypeT & | _genotype | ) | [inline, virtual] |
initialize a genotype
| _genotype | generally a genotype that has been default-constructed whatever it contains will be lost |
Implements eoUF< GenotypeT &, void >.
Definition at line 44 of file eoOneMaxInit.h.
References eoRng::flip(), and eoOneMaxInit< GenotypeT >::vecSize.
1.4.7