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

📄 tree.h

📁 一个含有朴素贝耶斯分类方法和决策树分类方法的源代码
💻 H
字号:
#if !defined(AFX_TREE_H__644307A5_8CA1_40F7_9ED1_8BFF49C03F8C__INCLUDED_)
#define AFX_TREE_H__644307A5_8CA1_40F7_9ED1_8BFF49C03F8C__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CTree view


class CTree : public CView
{
protected:
          // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CTree)

// Attributes
public:

	CTree();
	virtual ~CTree();
// Operations
public:
	float m_sope;
	int result;
	int m_thal;
	float m_nomv;
	float m_op;
	int m_eia;
	float m_mhra;
	int m_rer;
	int m_fbu;
	float m_sci;
	float m_rbp;
	int m_cpt;
	int m_sex;
	int m_age;
	void addValue(int age, int sex, int cpt, float rbp, float sci, int fbu, int rer, float mhra, int eia, float op, float sope, float nomv, int thal);
	int tree();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTree)
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	//}}AFX_VIRTUAL

// Implementation
protected:

#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
protected:
	//{{AFX_MSG(CTree)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_TREE_H__644307A5_8CA1_40F7_9ED1_8BFF49C03F8C__INCLUDED_)

⌨️ 快捷键说明

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