-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMPSFHS.h
32 lines (24 loc) · 859 Bytes
/
MPSFHS.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/////////////////////////////////////////////////////
/// Mahmoud S. Shaqfa ///
/////////////////////////////////////////////////////
#ifndef MODIFIEDPSFHS_MPSFHS_H
#define MODIFIEDPSFHS_MPSFHS_H
#include <cmath>
#include <algorithm>
#include "types.h"
#include "vectorized_operations.h"
#include "MPSFHS.h"
#include "randomness_generator.h"
#include "objective.h"
#include <zconf.h> // sleep(sec.)
class MPSFHS{
private:
Real HMCRi, PARi, m, PAR_min, HMCR_max, w1, w2;
UInt MaxItr, dim, popSize;
RealVec LB, UB, Steps;
public:
MPSFHS(Real&, Real&, Real&, Real&, UInt&, Real&, UInt&, UInt&, Real&, Real&, RealVec&, RealVec&, RealVec&);
~MPSFHS(){}
void Initiate(std::shared_ptr<objective>&, RealMat&,RealMat&, RealMat&, UIntMat&, RealVec&, RealVec&, RealVec&);
};
#endif //MODIFIEDPSFHS_MPSFHS_H