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

📄 xor_learndlg.h

📁 神经网络中的多层感知器的BP(反向传播)学习算法
💻 H
字号:
// xor_learnDlg.h : header file
//

#if !defined(AFX_xor_learnDLG_H__FDF6F509_974C_4315_8FE0_33B3CA76DB0B__INCLUDED_)
#define AFX_xor_learnDLG_H__FDF6F509_974C_4315_8FE0_33B3CA76DB0B__INCLUDED_

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

class CXorLearnDlg 
    : public CDialog, public CWeightsListener, public CMouseListener
{
// Construction
public:
    enum {ST_IDLE, ST_PREP, ST_ADJUSTING};
	CXorLearnDlg(CWnd* pParent = NULL);	// standard constructor

    virtual void OnWeightsNotify(double *pdbWeights, int num);
    virtual void LButtonDown(CPointf *pointf);
    // Dialog Data
	//{{AFX_DATA(CXorLearnDlg)
	enum { IDD = IDD_XOR_LEARN_DIALOG };
	CNeuronView	m_neuronView;
	double	m_dbLearnRate;
	double	m_dbMomentum;
	double	m_dbActiveLvl;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;
    unsigned char m_ucState;

	// Generated message map functions
	//{{AFX_MSG(CXorLearnDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButtonReset();
	afx_msg void OnButtonAdjust();
	afx_msg void OnButtonStop();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_xor_learnDLG_H__FDF6F509_974C_4315_8FE0_33B3CA76DB0B__INCLUDED_)

⌨️ 快捷键说明

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