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

📄 cluster.h

📁 用分类算法挖掘数据表达模式中的平移变化和放缩变化
💻 H
字号:
// Cluster.h: interface for the CCluster class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_CLUSTER_H__B0C8E403_E433_482C_891A_AFE31825A0F5__INCLUDED_)
#define AFX_CLUSTER_H__B0C8E403_E433_482C_891A_AFE31825A0F5__INCLUDED_

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

class CCluster  
{
	
public:
	CCluster();
	virtual ~CCluster();
public:
	int * m_pCandCond;
	void AppendCond(int nCondID);
	void AppendGene(int nGeneID, BOOL bFlag);
	void Initialize(int nGene, int nCond);
	int * m_pCondChain;	// current condition chain, not the whole chain
	int * m_pNGene;		// positive gene
	int * m_pPGene;		// negative gene

	int m_nChainLen;	// number of conditions in the current chain
	int m_nNGene;		// size of positive gene
	int m_nPGene;		// size of negative gene

	CCluster * m_pNext;

private:
	void Destruct();
	void SetUp();
	int m_nCond;		// size of condition
	int m_nGene;		// size of gene, note that m_nGene ne m_nPGene + m_nNGene
};

#endif // !defined(AFX_CLUSTER_H__B0C8E403_E433_482C_891A_AFE31825A0F5__INCLUDED_)

⌨️ 快捷键说明

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