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

📄 isodataview.h

📁 模式识别二维链表实现isodata算法 早期试验
💻 H
字号:
// ISODATAView.h : interface of the CISODATAView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_ISODATAVIEW_H__936CEF0F_C5DE_4686_B9EB_8667B41B08DF__INCLUDED_)
#define AFX_ISODATAVIEW_H__936CEF0F_C5DE_4686_B9EB_8667B41B08DF__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Algorithm.h"



class CISODATAView : public CView
{


public:
	double c;//预期的类数
	int Nc;//初始聚类中心个数
	double Thn;//每一类中允许的最小模式数目
	double Ths;//类内各个分量分布的标准差上限
	double ThD;//两类中心之间的最小距离下限
	int L;//在每次迭代中可以合并的类的最多对数
	int I;//允许的最多迭代次数
	int PatNum;//模式的个数
	int PatDim;//模式的维数
	double k;//类分裂时用的系数k


	bool PatInStart;//是否可以开始数据输入
	bool ClusCanBegin;//是否可以开始聚类

	PATTERN_S *pPattern;
	CLUSTER_S *pCluster;


	CAlgorithm isodata;
	double *pInput;
	int count;//鼠标输入数据的次数

	








protected: // create from serialization only
	CISODATAView();
	DECLARE_DYNCREATE(CISODATAView)

// Attributes
public:
	CISODATADoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CISODATAView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	//}}AFX_VIRTUAL

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

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CISODATAView)
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnParaset();
	afx_msg void OnBegincluster();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in ISODATAView.cpp
inline CISODATADoc* CISODATAView::GetDocument()
   { return (CISODATADoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_ISODATAVIEW_H__936CEF0F_C5DE_4686_B9EB_8667B41B08DF__INCLUDED_)

⌨️ 快捷键说明

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