initialization.h
来自「该算法是张青复与周爱民的基于RM-MEDA算法的程序」· C头文件 代码 · 共 66 行
H
66 行
//
//Please find details of the method from
//
// Q. Zhang, A. Zhou and Y. Jin, "RM-MEDA: A Regularity Model Based Multiobjective Estimation of Distribution Algorithm", IEEE Trans. Evolutionary Computation, Vol. 12, no. 1, pp41-63, 2008.
//
//The source codes are free for reserach work. If you have any problem with the source codes, please contact with
// Qingfu Zhang,
// Department of Computing and Electronic Systems,
// University of Essex,
// Colchester, CO4 3SQ, UK
// http://cswww.essex.ac.uk/staff/zhang
// Email: qzhang@essex.ac.uk
// Aimin Zhou
// Department of Computing and Electronic Systems,
// University of Essex,
// Colchester, CO4 3SQ, UK
// http://privatewww.essex.ac.uk/~azhou/
// Email: azhou@essex.ac.uk or amzhou@gmail.com
//Programmer:
// Aimin Zhou
//Last Update:
// Feb. 21, 2008
//
//Initialization.h : initialization strategies
//
#ifndef AZ_INITIALIZATION_H
#define AZ_INITIALIZATION_H
#include "PopulationMO.h"
//!\brief az namespace, the top namespace
namespace az
{
//!\brief mea namespace, the multiobjective evolutionary algorithm namespace
namespace mea
{
//!\brief initialization strategies
namespace ini
{
//!\brief random initialization strategy
class Random
{
protected:
unsigned int mEvas; //!< evaluations
public:
//!\brief get evaluations
//!\return evaluations
inline unsigned int EvaTimes() {return mEvas;}
//!\brief initialize a population
//!\param pop population
//!\param size population size
//!\return population
CPopulationMO& Initialize(CPopulationMO& pop, unsigned int size);
};//class Random
}//namespace ini
} //namespace mea
} //namespace az
#endif //AZ_INITIALIZATION_H
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?