Check pointer size at build time to detect 64bit platform and locate automatically
[PaGMO.git] / GOclasses / algorithms / DE.h
blobf8b38246f47bf24fe1be6d713d550d14563197d6
1 /*
2 * DE.h
3 * SeGMO
5 * Created by Dario Izzo on 5/18/08.
6 * Copyright 2008 Àdvanced Concepts Team (European Space Agency). All rights reserved.
8 */
10 #ifndef DE_H
11 #define DE_H
13 #include "population.h"
14 #include <vector>
15 #include <math.h>
16 #include "constants.h"
17 #include "PkRandom.h"
19 class DEalgorithm{
20 public:
22 Population evolve(Population deme, GOProblem& problem);
24 void initDE(int generationsInit,
25 int SolDimInit,
26 double FInit,
27 double CRInit,
28 int strategyInit,
29 unsigned long randomSeed);
31 private:
32 int generations;
33 int SolDim;
34 double F;
35 double CR;
36 int strategy;
37 Pk::Random32 rng;
40 #endif