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

📄 gasolution.h

📁 遗传算法vc++语言版源程序,台湾大学编写。
💻 H
字号:
#ifndef _GASOLUTION_
#define _GASOLUTION_

#include "CommonBase.h"
#include "UOFSolution.h"

class PopSolution : public UOFSolution
{
public: // basic interface
	UOFIdentity("PopSolution class",1);

	PopSolution(UOFInitializer *init=NULL, UOFEvaluator *eval=NULL);
	PopSolution(const PopSolution&);	PopSolution&	operator=(const PopSolution&);	virtual ~PopSolution();	virtual PopSolution* clone() const;	virtual void copy(const PopSolution&);public: // public member function	double		fitness();public:
	double		m_fitness;

	//CPopSolver		*m_pSolver;

//	Initializer		*m_pInit;
//	Evaluator		*m_pEval;
	Crossover		*m_pCros;
	Mutator			*m_pMutr;
};

#endif

⌨️ 快捷键说明

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