gaview.h
来自「遗传和蚁群算法改进源代码,对于研究仿真算法非常有用.可以深刻了解遗传和蚁群算法原」· C头文件 代码 · 共 47 行
H
47 行
#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 + =
减小字号Ctrl + -
显示快捷键?