📄 dlgneuron.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -