EvolvingObjects
eoVlAddMutation< EOT > Class Template Reference

Base classes for generic mutations on variable length chromosomes. More...

#include <eoVariableLengthMutation.h>

Inheritance diagram for eoVlAddMutation< EOT >:
eoMonOp< EOT > eoOp< EOT > eoUF< EOT &, bool > eoFunctorBase unary_function

List of all members.

Public Types

typedef EOT::AtomType AtomType

Public Member Functions

 eoVlAddMutation (unsigned _nMax, eoInit< AtomType > &_atomInit)
 default ctor
bool operator() (EOT &_eo)
 operator: actually adds an Atom
virtual std::string className () const
 inherited className

Private Attributes

unsigned nMax
eoInit< AtomType > & atomInit

Detailed Description

template<class EOT>
class eoVlAddMutation< EOT >

Base classes for generic mutations on variable length chromosomes.

Contains addition and deletion of a gene

The generic mutations that apply a gene-level mutation to some genes dont't modify the length, and so are NOT specific to variable-length Hence they are in file eoFlOr MonOp.h file (FixedLengthOrdered mutations) Addition of a gene Is inserted at a random position - so can be applied to both order-dependent and order-independent

Definition at line 51 of file eoVariableLengthMutation.h.


Constructor & Destructor Documentation

template<class EOT >
eoVlAddMutation< EOT >::eoVlAddMutation ( unsigned  _nMax,
eoInit< AtomType > &  _atomInit 
) [inline]

default ctor

Parameters:
_nMaxmax number of atoms
_atomInitan Atom initializer

Definition at line 62 of file eoVariableLengthMutation.h.


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