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

📄 ga.h

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

#if !defined(AFX_GA_H__19A38A4A_013B_4660_9383_0562BEFBAEE7__INCLUDED_)
#define AFX_GA_H__19A38A4A_013B_4660_9383_0562BEFBAEE7__INCLUDED_

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

#include "Arithmatic.h"
#include "Assistant.h"
#include "Parameter.h"
#include "Adaptability.h"
#include "Recombine.h"
#include "Recombine3.h"
#include "stdio.h"
#include "odingSequence.h"
#include "Select1.h"
#include "Select2.h"
#include "Mutate3.h"
#include "MutateInsert.h"
#include "MutateReversal.h"
#include "XOver3.h"

class GA  :public Arithmatic
{
public:
	GA(Adaptability *,Parameter *);
	virtual void Run();
	virtual ~GA();
private:
	Recombine * recomb;
	Rand * rand;
	int maxgen;
	FILE * file1;
	FILE * file2;
};

#endif // !defined(AFX_GA_H__19A38A4A_013B_4660_9383_0562BEFBAEE7__INCLUDED_)

⌨️ 快捷键说明

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