?? detreesvmview.h
字號(hào):
// DeTreeSVMView.h : interface of the CDeTreeSVMView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_DETREESVMVIEW_H__C2F24005_99C7_494A_B5A5_DB21FCF11EB8__INCLUDED_)
#define AFX_DETREESVMVIEW_H__C2F24005_99C7_494A_B5A5_DB21FCF11EB8__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define KINDNUMBER 4
class CDeTreeSVMView : public CScrollView
{
protected: // create from serialization only
CDeTreeSVMView();
DECLARE_DYNCREATE(CDeTreeSVMView)
// Attributes
public:
CDeTreeSVMDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDeTreeSVMView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual void OnPrepareDC(CDC* pDC, CPrintInfo* pInfo = NULL);
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnInitialUpdate();
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CDeTreeSVMView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
double dPrecision[KINDNUMBER];//查準(zhǔn)率
double dRecall[KINDNUMBER];//查全率
double dF1[KINDNUMBER];//F1測(cè)試值
BOOL m_bCurve;//標(biāo)記是不是畫(huà)折線
BOOL m_bRect;//標(biāo)記是否畫(huà)柱狀圖
CScrollBar m_ScrollBar;//滾動(dòng)條
// Generated message map functions
protected:
//{{AFX_MSG(CDeTreeSVMView)
afx_msg void OnCurve();
afx_msg void OnRect();
afx_msg void OnUpdateRect(CCmdUI* pCmdUI);
afx_msg void OnUpdateCurve(CCmdUI* pCmdUI);
afx_msg void OnClean();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in DeTreeSVMView.cpp
inline CDeTreeSVMDoc* CDeTreeSVMView::GetDocument()
{ return (CDeTreeSVMDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DETREESVMVIEW_H__C2F24005_99C7_494A_B5A5_DB21FCF11EB8__INCLUDED_)
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -