Substitute rng_type with rng_uint32_type for clearness.
[PaGMO.git] / GOclasses / algorithms / ASA.h
blob38b51af1063a3aa625d09bee4fff12a86d366517
1 /*
2 * ASA.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 ASA_H
11 #define ASA_H
13 #include "population.h"
14 #include <vector>
15 #include <cmath>
16 #include "constants.h"
17 #include "PkRandom.h"
18 #include "GOproblem.h"
21 class ASAalgorithm{
22 public:
24 Population evolve(Individual x0, GOProblem& problem);
26 //This method initialise all the SA-AN algorithm parameters
27 void initASA(int niterTotInit,
28 int niterTempInit,
29 int niterRangeInit,
30 int SolDimInit,
31 double T0Init,
32 double TcoeffInit,
33 double StartStepInit,
34 uint32_t randomSeed);
36 //This method initialise the SA-AN algorithm starting and final temperature setting deafult values for
37 //the StartStep, the niterTemp and the niterRange. Tcoeff is evaluated accordingly
38 void initASA(int niterTotInit,
39 int SolDimInit,
40 double Ts,
41 double Tf,
42 uint32_t randomSeed);
44 private:
45 int niterTot;
46 int niterTemp;
47 int niterRange;
48 int SolDim;
49 double T0;
50 double Tcoeff;
51 double StartStep;
52 int niterOuter;
53 rng_uint32_type rng;
56 #endif