⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 localpca.h

📁 该算法是张青复与周爱民的基于RM-MEDA算法的程序
💻 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
//
//LocalPCA.h : Local Principal Component Analysis (Local PCA) model//#ifndef	AZ_LOCALPCA_H#define	AZ_LOCALPCA_H#include <vector>#include "Model.h"//!\brief	az namespace, the top namespace
namespace az
{

//!\brief	alg namespace, contains algorithms
namespace alg
{//!\brief Local PCA, partion data into clusters class LocalPCA:public Model{protected:	std::vector< std::vector< std::vector<double> > >	mvPI;	//!< matrix PI to each clusterpublic:	//!\brief	train process	//!\return	void	void Train();protected:	//!\brief	calculate the distance between data m to cluster c	//!\param	m	datat index	//!\param	c	cluster index	//!\return	distance	double Distance(unsigned int m, unsigned int c);};//class LocalPCA
} //namespace alg

} //namespace az
#endif //AZ_LOCALPCA_H

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -