eoOneMaxInit< GenotypeT > Class Template Reference

-*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- More...

#include <eoOneMaxInit.h>

Inheritance diagram for eoOneMaxInit< GenotypeT >:

eoInit< GenotypeT > eoUF< GenotypeT &, void > eoFunctorBase

List of all members.

Public Member Functions

 eoOneMaxInit (unsigned _vecSize)
 Ctor - no requirement.
void operator() (GenotypeT &_genotype)
 initialize a genotype

Private Attributes

unsigned vecSize


Detailed Description

template<class GenotypeT>
class eoOneMaxInit< GenotypeT >

-*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-

The above line is usefulin Emacs-like editors Always write a comment in this format before class definition if you want the class to be documented by Doxygen 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.


Member Function Documentation

template<class GenotypeT>
void eoOneMaxInit< GenotypeT >::operator() ( GenotypeT &  _genotype  )  [inline, virtual]

initialize a genotype

Parameters:
_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().


The documentation for this class was generated from the following file:

Generated on Thu Jan 1 23:19:48 2009 for EvolvingObjects by  doxygen 1.5.5