📄 ga.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 + -