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

📄 gene.h

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

#if !defined(AFX_GENE_H__F8F89FAC_4F7C_4905_9544_7FE1759E1277__INCLUDED_)
#define AFX_GENE_H__F8F89FAC_4F7C_4905_9544_7FE1759E1277__INCLUDED_

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

class CGene  
{
public:
	double CalculateCohert(int c1, int c2, int cm, int ci);
	double m_dCohert;
	int GetPreCond(int nCond, int *&pPreCond);
	void SetGama(double dGama);
	void InitializeGene(double *pValue);
	void SetCondSize(int nCond);
	int GetCondIndex(int nCond);
	int GetCondID(int nIndex);
	void ChainCond();
	void SortCondVal();
	int * m_pChain;
	double * m_pCondVal;
	CGene();
	virtual ~CGene();

private:
	void Destruct();
	void SetUp();
	double m_dGama;
	void CalculateThreshold();
	double m_dThreshold;
	int * m_pID;
	int Partition(int nStart, int nEnd);
	void QuickSort(int nStart, int nEnd);
	int m_nCond;
};

#endif // !defined(AFX_GENE_H__F8F89FAC_4F7C_4905_9544_7FE1759E1277__INCLUDED_)

⌨️ 快捷键说明

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