select.h
来自「c++语言实现的遗传算法的例子,需要的快下啊」· C头文件 代码 · 共 29 行
H
29 行
// 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 + =
减小字号Ctrl + -
显示快捷键?