In file EO++.h:

template <class fitnessT = float> class EOBin : public EO<bool, fitnessT>, public bit_vector

Binary chromosome for EO; this is the classical bitstring chromosome described by Holland, Goldberg and others

Inheritance:


Public Methods

void deleteGene( unsigned _i )
EOBin( const string& _ID = "", unsigned _num_genes = 1, unsigned _geneSize = 1 )
constructor
EOBin( const EOBin& eobin )
copy constructor
unsigned geneSize()
number of bits per gen
void insertGene( unsigned _i, bool _val )
unsigned length()
unsigned numGenes()
const EOBin& operator = ( const EOBin& _eobin )
Operator =
bool readGene( unsigned _i )
void writeGene( unsigned _i, bool _val )
~EOBin()
destructor

Inherited from EO:

Public Fields

typedef T EOType

Public Methods

const EO& operator= ( const EO& _eo )
virtual void printSelf( ostream& _s )

Inherited from EOBase:

Public Classes

class InvalidFitness: public UException
InvalidFitness()
Constructor

Public Fields

typedef fitnessT EOFitT

Public Methods

virtual fitnessT fitness()
virtual void fitness( fitnessT _fitness )
const string& ID()
void ID( const string& _id )

Documentation

Binary chromosome for EO; this is the classical bitstring chromosome described by Holland, Goldberg and others.

EOBin( const string& _ID = "", unsigned _num_genes = 1, unsigned _geneSize = 1 )
constructor

EOBin( const EOBin& eobin )
copy constructor

const EOBin& operator = ( const EOBin& _eobin )
Operator =

~EOBin()
destructor

bool readGene( unsigned _i )

void writeGene( unsigned _i, bool _val )

void insertGene( unsigned _i, bool _val )

void deleteGene( unsigned _i )

unsigned length()

unsigned numGenes()

unsigned geneSize()
number of bits per gen


This class has no child classes.
Author:
Gustavo Romero Lopez

alphabetic index hierarchy of classes


BinOp