eoBit< FitT > Class Template Reference
[BitstringBitstring]

Implementation of bitstring chromosome. More...

#include <ga/eoBit.h>

Inheritance diagram for eoBit< FitT >:

eoVector< FitT, bool > EO< FitT > 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.

Definition at line 56 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 69 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, bool >.

Definition at line 82 of file eoBit.h.

References EO< F >::printOn().

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, bool >.

Definition at line 94 of file eoBit.h.

References EO< F >::readFrom().


The documentation for this class was generated from the following file:
Generated on Thu Oct 19 05:06:45 2006 for EO by  doxygen 1.3.9.1