📄 ca_testdlg.h
字号:
// CA_TestDlg.h : header file
//
#if !defined(AFX_CA_TESTDLG_H__906EB010_0127_4A61_99FB_BD8AFCBEC008__INCLUDED_)
#define AFX_CA_TESTDLG_H__906EB010_0127_4A61_99FB_BD8AFCBEC008__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CCA_TestDlg dialog
class CCA_TestDlg : public CDialog
{
// Construction
public:
void performevolution();
void findneighborbestindividual();
void calculateobjectvalue();
void compete();
void auto_mutation();
// void mutation();
void crossover();
void findbestandworstindividual();
void calculatefitnessvalue();
void calculatefunctionvalue();
void evaluatepopulation();
void generatenextpopulation();
void generateinitialpopulation();
void input();
void outputtextreport();
CCA_TestDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CCA_TestDlg)
enum { IDD = IDD_CA_TEST_DIALOG };
int m_edit1;
int m_edit2;
double m_edit3;
double m_edit4;
double m_edit5;
int m_edit6;
double m_edit7;
double m_edit8;
CString m_edit9;
double m_edit10;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCA_TestDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CCA_TestDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnExit();
afx_msg void OnRun();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnDisplay();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CA_TESTDLG_H__906EB010_0127_4A61_99FB_BD8AFCBEC008__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -