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

📄 gaview.h

📁 求解TSP问题的蚁群算法图形演示程序
💻 H
字号:
#pragma once

#include "../AIView.h"
#include "../Chart.h"
#include "GASystem.h"
namespace GA
{
// CNeuroACO

class CGAView : public CAIView
{
	DECLARE_DYNCREATE(CGAView)
public:
	void ButtonStart();
	void ButtonStop();
	void ButtonStep();
	void ButtonReset();
	void ButtonOptions();
	void UpdateView();

	//Rectangles for views
	//Rectangles
	CRect rectTour;
	CRect rectGraph;
	CRect rectClient;
	CChart* graph;

	void CustomiseGraph();

	CGASystem* gaSystem;
	bool ProblemSolved;

public:
	CGAView();
	virtual ~CGAView();

protected:
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnPaint();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnTimer(UINT nIDEvent);
	virtual void OnInitialUpdate();
};

}//namespace

⌨️ 快捷键说明

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