EvolvingObjects
eoShiftMutation< EOT > Class Template Reference

Shift two components of a chromosome. More...

#include <eoShiftMutation.h>

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

List of all members.

Public Types

typedef EOT::AtomType GeneType

Public Member Functions

 eoShiftMutation ()
 CTor.
virtual std::string className () const
 The class name.
bool operator() (EOT &_eo)
 Shift two components of the given eoosome.

Detailed Description

template<class EOT>
class eoShiftMutation< EOT >

Shift two components of a chromosome.

Examples:
t-eoShiftMutation.cpp.

Definition at line 40 of file eoShiftMutation.h.


Member Function Documentation

template<class EOT>
bool eoShiftMutation< EOT >::operator() ( EOT &  _eo) [inline, virtual]

Shift two components of the given eoosome.

Parameters:
_eoThe cromosome which is going to be changed.

Implements eoUF< EOT &, bool >.

Definition at line 58 of file eoShiftMutation.h.

References eoRng::random().


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