Substitute rng_type with rng_uint32_type for clearness.
[PaGMO.git] / GOclasses / algorithms / MPSO.h
blob6634b62ee19f975fe626590a75c9d537ecd98b62
1 /*
2 * MPSO.h
3 * SeGMO, a Sequential Global Multiobjective Optimiser
5 * Created by Dario Izzo on 5/16/08.
6 * Copyright 2008 ¿dvanced Concepts Team (European Space Agency). All rights reserved.
8 */
10 #ifndef MPSO_H
11 #define MPSO_H
13 #include "population.h"
14 #include <vector>
15 #include <math.h>
16 #include "PkRandom.h"
17 #include "GOproblem.h"
19 class MPSOalgorithm{
20 public:
22 Population evolve(Population deme, GOProblem& problem);
24 void initMPSO(int generationsInit,
25 int SolDimInit,
26 double omegaInit,
27 double eta1Init,
28 double eta2Init,
29 double vcoeffInit,
30 int nswarmsInit,
31 uint32_t randomSeed);
33 private:
34 int generations;
35 int SolDim;
36 double omega;
37 double eta1;
38 double eta2;
39 double vcoeff;
40 int nswarms;
41 rng_uint32_type rng;
44 #endif