eoBit< FitT > Class Template Reference
[Bitstring]

Implementation of bitstring chromosome. More...

#include <ga/eoBit.h>

Inheritance diagram for eoBit< FitT >:

eoVector< FitT, GeneType > EO< F > eoObject eoPersistent eoPrintable

List of all members.

Public Member Functions

 eoBit (unsigned size=0, bool value=false)
 (Default) Constructor.
virtual std::string className () const
 My class name.
virtual void printOn (std::ostream &os) const
 To print me on a stream.
virtual void readFrom (std::istream &is)
 To read me from a stream.


Detailed Description

template<class FitT>
class eoBit< FitT >

Implementation of bitstring chromosome.

Based on STL's vector<bool> specialization.

Based on STL's std::vector<bool> specialization.

Definition at line 57 of file eoBit.h.


Constructor & Destructor Documentation

template<class FitT>
eoBit< FitT >::eoBit ( unsigned  size = 0,
bool  value = false 
) [inline]

(Default) Constructor.

Parameters:
size Size of the binary std::string.

Definition at line 70 of file eoBit.h.


Member Function Documentation

template<class FitT>
virtual void eoBit< FitT >::printOn ( std::ostream &  os  )  const [inline, virtual]

To print me on a stream.

Parameters:
os The std::ostream.

Reimplemented from eoVector< FitT, GeneType >.

Definition at line 83 of file eoBit.h.

template<class FitT>
virtual void eoBit< FitT >::readFrom ( std::istream &  is  )  [inline, virtual]

To read me from a stream.

Parameters:
is The std::istream.

Reimplemented from eoVector< FitT, GeneType >.

Definition at line 95 of file eoBit.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