setting.cpp

来自「Neural Network backpropagation」· C++ 代码 · 共 48 行

CPP
48
字号
// Setting.cpp : implementation file
//

#include "stdafx.h"
#include "backpropagation.h"
#include "Setting.h"

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

/////////////////////////////////////////////////////////////////////////////
// Setting dialog


Setting::Setting(CWnd* pParent /*=NULL*/)
	: CDialog(Setting::IDD, pParent)
{
	//{{AFX_DATA_INIT(Setting)
	m_Study_Rate = 0.02;
	m_Error_tolerance = 0.002;
	m_finite_times = 30000000;
	//}}AFX_DATA_INIT
}


void Setting::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(Setting)
	DDX_Text(pDX, IDC_STUDY_, m_Study_Rate);
	DDX_Text(pDX, IDC_TOL, m_Error_tolerance);
	DDX_Text(pDX, IDC_finite_times, m_finite_times);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// Setting message handlers

⌨️ 快捷键说明

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