Addition of the function PSO : Parallel evaluation

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@653 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
canape 2007-10-08 08:21:23 +00:00
commit 50e1f0c0b8
2 changed files with 12 additions and 3 deletions

View file

@ -24,16 +24,19 @@ template < class POT > class peoPSO : public Runner {
public:
// Constructor for the Particle Swarm Optimization
peoPSO(
eoContinue< POT >& __cont,
peoPopEval< POT >& __pop_eval,
eoVelocity < POT > &_velocity,
eoFlight < POT > &_flight);
// Particle Swarm Optimization function - a side effect of the fact that the class is derived from the Runner class
// thus requiring the existence of a run function, the algorithm being executed on a distinct thread.
void run();
// Function operator for specifying the population to be associated with the algorithm.
void operator()( eoPop< POT >& __pop );
private: