eoBitInversion< Chrom > Class Template Reference
[Bitstring]

eoBitInversion: inverts the bits of the chromosome between an interval More...

#include <ga/eoBitOp.h>

Inheritance diagram for eoBitInversion< Chrom >:

eoMonOp< Chrom > eoOp< Chrom > eoUF< Chrom &, bool > eoFunctorBase

List of all members.

Public Member Functions

virtual std::string className () const
 The class name.
bool operator() (Chrom &chrom)
 Inverts a range of bits in a binary chromosome.


Detailed Description

template<class Chrom>
class eoBitInversion< Chrom >

eoBitInversion: inverts the bits of the chromosome between an interval

Definition at line 146 of file eoBitOp.h.


Member Function Documentation

template<class Chrom>
bool eoBitInversion< Chrom >::operator() ( Chrom &  chrom  )  [inline, virtual]

Inverts a range of bits in a binary chromosome.

Parameters:
chrom The chromosome whos bits are going to be inverted (a range).

Implements eoUF< Chrom &, bool >.

Definition at line 156 of file eoBitOp.h.


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

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