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

📄 histstop.h

📁 粗糙集应用软件
💻 H
字号:
// HistStop.h: interface for the HistStop class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_HISTSTOP_H__F2ED4F82_3DDE_11D2_AF91_000000000000__INCLUDED_)
#define AFX_HISTSTOP_H__F2ED4F82_3DDE_11D2_AF91_000000000000__INCLUDED_

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

#include "../copyright.h" // Added 000323 by Aleksander 豩rn.

#include "../ea/AbstractStoppingCriteria.h"
#include "Context.h"

class HistStop : public AbstractStoppingCriteria  
{
	Context &c;
	bool fit_stop;
	bool keep_stop;
	bool use_fs;
	bool use_ks;
	int gen_gap;
	double max_fitness;
  int f_generation; 
	int k_generation;

public:
	bool stop(Population &p, int generation = 0);
	HistStop(Context &cont, int gap = 5, bool fStop = true, bool kStop = true);
	virtual ~HistStop();

};

#endif // !defined(AFX_HISTSTOP_H__F2ED4F82_3DDE_11D2_AF91_000000000000__INCLUDED_)

⌨️ 快捷键说明

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