?? initialization.h
字號:
//
//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 + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -