dlgneuron.h

来自「使用神经网络开发包实现图形化的神经网络模拟」· C头文件 代码 · 共 64 行

H
64
字号
#if !defined(AFX_DLGNEURON_H__9C54D622_FF08_4E77_8013_700BBAADEA63__INCLUDED_)
#define AFX_DLGNEURON_H__9C54D622_FF08_4E77_8013_700BBAADEA63__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgNeuron.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CDlgNeuron dialog

class CDlgNeuron : public CDialog
{
// Construction
public:
	void setFunction(int funIndex);
	void setRect(CRect newRect);
	void setCDC(CDC *newpDC);
	CDlgNeuron(CWnd* pParent = NULL);   // standard constructor
	 ActivationFunction neuralFunction[7];//const
	// Dialog Data
	//{{AFX_DATA(CDlgNeuron)
	enum { IDD = IDD_DLG_NEURON };
	int		m_nFunction;
	float	m_nBias;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDlgNeuron)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDlgNeuron)
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	afx_msg void OnRadio2();
	afx_msg void OnRadio3();
	afx_msg void OnRadio4();
	afx_msg void OnRadio5();
	afx_msg void OnRadio6();
	afx_msg void OnRadio7();
	afx_msg void OnChangeEditBias();
	afx_msg void OnDelete();
	afx_msg void OnFunctionDetail();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CRect rect;
	CDC * pDC;
};

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

#endif // !defined(AFX_DLGNEURON_H__9C54D622_FF08_4E77_8013_700BBAADEA63__INCLUDED_)

⌨️ 快捷键说明

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