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

📄 antclusteringview.h

📁 蚁群算法求解聚类问题
💻 H
字号:
// AntClusteringView.h : interface of the CAntClusteringView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_AntClusteringVIEW_H__2A961B8C_2615_4AF2_A016_762586BFCE71__INCLUDED_)
#define AFX_AntClusteringVIEW_H__2A961B8C_2615_4AF2_A016_762586BFCE71__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000



class CAntClusteringView : public CScrollView
{
protected: // create from serialization only
	CAntClusteringView();
	DECLARE_DYNCREATE(CAntClusteringView)

// Attributes
public:
	CAntClusteringDoc* GetDocument();

// Operations
public:
	DataObject* m_pOriDataObj;
	int classNo;
  	UINT posChangeDataNum;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CAntClusteringView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CAntClusteringView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:
private:
	CMetaFileDC m_dcMetaFile;


// Generated message map functions
protected:
	//{{AFX_MSG(CAntClusteringView)
	afx_msg void OnParameter();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnMenuReaddata();
	afx_msg void OnWritelog();
	afx_msg void OnFileSave();
	afx_msg void OnFileopen();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	bool m_bStartDraw;
	int m_nViewPropNum;
	int m_nViewDataNum;
	virtual	void OnInitialUpdate();

};

#ifndef _DEBUG  // debug version in AntClusteringView.cpp
inline CAntClusteringDoc* CAntClusteringView::GetDocument()
   { return (CAntClusteringDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_AntClusteringVIEW_H__2A961B8C_2615_4AF2_A016_762586BFCE71__INCLUDED_)

⌨️ 快捷键说明

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