nndlg.h

来自「利用matlab编写的神经网络算法」· C头文件 代码 · 共 82 行

H
82
字号
// NNDlg.h : header file
//

#if !defined(AFX_NNDLG_H__09B853CF_AED6_436C_9088_14C1C00E3D1F__INCLUDED_)
#define AFX_NNDLG_H__09B853CF_AED6_436C_9088_14C1C00E3D1F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CNNDlg dialog
#include "NeuralNetwork.h"
class CNNDlg : public CDialog
{
// Construction
public:
	CString test_filename;
	NeuralNetwork mNN;
	CNNDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CNNDlg)
	enum { IDD = IDD_NN_DIALOG };
	double	m_1;
	CString	m_ss;
	CString	m_testfile;
	CString	m_num_sam;
	CString	m_num_cha;
	int		m_num_hid;
	CString	m_num_out;
	double	m_right_ratio;
	CString	m_norm_filename;
	CString	m_norm_loadfile;
	CString	m_weight_file;
	CString	m_weight2_file;
	double	m_alpha;
	int		m_epoch;
	CString	m_err;
	CString	m_ratio;
	CString	m_info;
	CString	m_infofile;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CNNDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CNNDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButton1();
	afx_msg void OnButton2();
	afx_msg void OnButtonTestfile();
	afx_msg void OnButtonTest();
	afx_msg void OnButtonGetdata();
	afx_msg void OnButtonNorm();
	afx_msg void OnButtonLoadNorm();
	afx_msg void OnButtonLoadNorm1();
	afx_msg void OnButtonWeightfile();
	afx_msg void OnButtonLoadWeight();
	afx_msg void OnButtonWeightfile2();
	afx_msg void OnButtonInfo();
	afx_msg void OnButtonMiddis();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_NNDLG_H__09B853CF_AED6_436C_9088_14C1C00E3D1F__INCLUDED_)

⌨️ 快捷键说明

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