cluster.h
来自「用分类算法挖掘数据表达模式中的平移变化和放缩变化」· C头文件 代码 · 共 41 行
H
41 行
// 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 + =
减小字号Ctrl + -
显示快捷键?