EvolvingObjects
eoBitParticle< FitT > Class Template Reference

eoBitParticle: Implementation of a bit-coded particle (swarm optimization). More...

#include <eoBitParticle.h>

Inheritance diagram for eoBitParticle< FitT >:
eoVectorParticle< FitT, bool, double > PO< FitT > vector EO< FitT > eoObject eoPersistent eoPrintable

List of all members.

Public Member Functions

 eoBitParticle (unsigned size=0, bool positions=0, double velocities=0.0, bool bestPositions=0)
virtual std::string className () const
 Return the class id.

Detailed Description

template<class FitT>
class eoBitParticle< FitT >

eoBitParticle: Implementation of a bit-coded particle (swarm optimization).

Positions and best positions are 0 or 1 but the velocity is a vector of double.

Definition at line 37 of file eoBitParticle.h.


Member Function Documentation

template<class FitT >
virtual std::string eoBitParticle< FitT >::className ( void  ) const [inline, virtual]

Return the class id.

Returns:
the class name as a std::string

Reimplemented from PO< FitT >.

Definition at line 44 of file eoBitParticle.h.


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