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

📄 select.h

📁 c++语言实现的遗传算法的例子,需要的快下啊
💻 H
字号:
// Select.h: interface for the Select class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_SELECT_H__A9C0EECC_5F50_4A39_8B13_0EEB1F449897__INCLUDED_)
#define AFX_SELECT_H__A9C0EECC_5F50_4A39_8B13_0EEB1F449897__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "Popular.h"
#include "Assistant.h"

class Select  
{
public:
	Select(int);
	virtual int SelectPop(Rand *)=0;
	virtual void GetProportion(Popular * *)=0;
	int SelectBest(Popular * *);
	int SelectWorst(Popular * *);
	virtual ~Select();
protected:
	int scale;
};

#endif // !defined(AFX_SELECT_H__A9C0EECC_5F50_4A39_8B13_0EEB1F449897__INCLUDED_)

⌨️ 快捷键说明

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