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

📄 gasetdlg.cpp

📁 遗传算法解中国旅行商问题
💻 CPP
字号:
// GASetDlg.cpp : implementation file
//

#include "stdafx.h"
#include "China45.h"
#include "GASetDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CGASetDlg dialog


CGASetDlg::CGASetDlg(CWnd* pParent /*=NULL*/):CDialog(CGASetDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CGASetDlg)
	m_nGroupSize = 200;
	m_GACrossProb = 0.3;
	m_GAVariProb = 0.03;
	m_GANum = 100;
	//}}AFX_DATA_INIT
}


void CGASetDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CGASetDlg)
	DDX_Text(pDX, IDC_EDIT2, m_nGroupSize);
	DDX_Text(pDX, IDC_EDIT3, m_GACrossProb);
	DDX_Text(pDX, IDC_EDIT4, m_GAVariProb);
	DDX_Text(pDX, IDC_EDIT5, m_GANum);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CGASetDlg, CDialog)
	//{{AFX_MSG_MAP(CGASetDlg)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CGASetDlg message handlers

⌨️ 快捷键说明

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