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

📄 globepar.h

📁 在任务级并行平台P2HP上开发的demo应用
💻 H
字号:
// GlobePar.h: interface for the GlobePar class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_GLOBEPAR_H__DD0CAF2F_2FE6_4BC3_B1BB_AFC8AF999E46__INCLUDED_)
#define AFX_GLOBEPAR_H__DD0CAF2F_2FE6_4BC3_B1BB_AFC8AF999E46__INCLUDED_

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

#include <VECTOR>

class GlobePar  
{
public:
	GlobePar(int dim);
	virtual ~GlobePar();
	void updatePara(long double weight, int index);//used in the process of recursive
	int getDimen() const;
	int getDirec() const;
	bool initial(const std::vector<long double> &tempvector);//this method will be called in the initial time
	bool resetNumber();//after a round, this method will be called

public:
	static const int directions[6][3];
	static CString sequence;
	static int length;
	static int bestEnergy;
	static int round;
	static int c; 
	static int Exp; //the value of exp(1/t)
	static int z0;  
	static double c0; //the value added by a value after each round
	static int step; //increasing step
	std::vector<long double> averageOfWei; // Zn---average score of the different length
 	std::vector<long> numberOfLen; //Cn---define the numbers of the different length 
	int dimensions; //define the space dimension the simulation will run in
	int forwards; //how much the direction the protein will enrich
};

#endif // !defined(AFX_GLOBEPAR_H__DD0CAF2F_2FE6_4BC3_B1BB_AFC8AF999E46__INCLUDED_)





















⌨️ 快捷键说明

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