?? ganzhidlg.h
字號:
// ganzhiDlg.h : header file
//
#include "perception.h"
#if !defined(AFX_GANZHIDLG_H__3F84E024_0033_4FEC_BDBC_1D3E9FD55C04__INCLUDED_)
#define AFX_GANZHIDLG_H__3F84E024_0033_4FEC_BDBC_1D3E9FD55C04__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CGanzhiDlg dialog
class CGanzhiDlg : public CDialog
{
// Construction
public:
CGanzhiDlg(CWnd* pParent = NULL); // standard constructor
~CGanzhiDlg();
// Dialog Data
//{{AFX_DATA(CGanzhiDlg)
enum { IDD = IDD_GANZHI_DIALOG };
int m_epochs;
double m_eta;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGanzhiDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CGanzhiDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnBtnSelect();
afx_msg void OnBtnTest();
afx_msg void OnBtnTrain();
afx_msg void OnBtnClear();
afx_msg void OnRadioRed();
afx_msg void OnRadioBlue();
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
protected:
BOOL m_bDrawPoint;
BOOL m_bTest;
BOOL m_bTrain;
CPerception *pPerception;
int m_colour;
double m_pointArray[100][2];
double m_pointType[100];
int m_pointNum;
double *m_pType2;
double **m_pSample2;;
CPoint m_point;
CPoint m_point2;
CPoint m_line_start;
CPoint m_line_end;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_GANZHIDLG_H__3F84E024_0033_4FEC_BDBC_1D3E9FD55C04__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -