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

📄 ganzhidlg.h

📁 神经网络感知器做的分类器的源码
💻 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 + -