EvolvingObjects
eoInitializer< POT > Class Template Reference

Base (name) class for Initialization of algorithm PSO. More...

#include <eoInitializer.h>

Inheritance diagram for eoInitializer< POT >:
eoInitializerBase< POT > eoFunctorBase eoFunctorBase

List of all members.

Classes

class  eoDummy
class  eoDummyEval

Public Member Functions

 eoInitializer (eoUF< POT &, void > &_proc, eoVelocityInit< POT > &_initVelo, eoParticleBestInit< POT > &_initBest, eoTopology< POT > &_topology, eoPop< POT > &_pop)
 Constructor.
 eoInitializer (eoPopEvalFunc< POT > &_proc, eoVelocityInit< POT > &_initVelo, eoParticleBestInit< POT > &_initBest, eoTopology< POT > &_topology, eoPop< POT > &_pop)
 Constructor for parallel evaluation.
virtual std::string className (void) const
 Give the name of the class.
virtual void operator() ()

Private Attributes

eoUF< POT &, void > & proc
eoVelocityInit< POT > & initVelo
eoPopEvalFunc< POT > & procPara
eoParticleBestInit< POT > & initBest
eoTopology< POT > & topology
eoPop< POT > & pop
eoInitializer::eoDummyEval dummyEval
eoInitializer::eoDummy dummy

Detailed Description

template<class POT>
class eoInitializer< POT >

Base (name) class for Initialization of algorithm PSO.

See also:
eoInitializerBase eoUF apply
Examples:
t-eoEasyPSO.cpp, t-eoExtendedVelocity.cpp, and t-eoSyncEasyPSO.cpp.

Definition at line 61 of file eoInitializer.h.


Constructor & Destructor Documentation

template<class POT>
eoInitializer< POT >::eoInitializer ( eoUF< POT &, void > &  _proc,
eoVelocityInit< POT > &  _initVelo,
eoParticleBestInit< POT > &  _initBest,
eoTopology< POT > &  _topology,
eoPop< POT > &  _pop 
) [inline]

Constructor.

Parameters:
_procEvaluation function
_initVeloInitialization of the velocity
_initBestInitialization of the best
_topologythe topology to use
_popPopulation

Definition at line 71 of file eoInitializer.h.

template<class POT>
eoInitializer< POT >::eoInitializer ( eoPopEvalFunc< POT > &  _proc,
eoVelocityInit< POT > &  _initVelo,
eoParticleBestInit< POT > &  _initBest,
eoTopology< POT > &  _topology,
eoPop< POT > &  _pop 
) [inline]

Constructor for parallel evaluation.

Parameters:
_procEvaluation function
_initVeloInitialization of the velocity
_initBestInitialization of the best
_topologythe topology to use
_popPopulation

Definition at line 86 of file eoInitializer.h.


Member Function Documentation

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

Give the name of the class.

Returns:
The name of the class

Definition at line 98 of file eoInitializer.h.


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