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

📄 random.h

📁 基于GPS的多目标优化及动态多目标优化源代码 里面 包含MOP, DMOP的程序
💻 H
字号:
// Random.h: interface for the CRandom class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_RANDOM_H__37DC2C8D_8049_4347_A196_A7227EB87351__INCLUDED_)
#define AFX_RANDOM_H__37DC2C8D_8049_4347_A196_A7227EB87351__INCLUDED_

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

#include "time.h"

class CRandom  
{
public:
	static int Random(int m_Start, int m_End); //[m_Start , m_End]
	static double Random(double m_Start,double m_End);
	static void RandomInit(int seed);
	static void RandomInit();
	CRandom();
	static int Seed;
	virtual ~CRandom();

};

#endif // !defined(AFX_RANDOM_H__37DC2C8D_8049_4347_A196_A7227EB87351__INCLUDED_)

⌨️ 快捷键说明

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