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

📄 utils.h

📁 蚁群算法的C++实现,让读者更清晰的了解蚁群算法的完整思路
💻 H
字号:
#pragma once
#include "Color.h"
//#include "AutoFont.h"
#include <math.h>
#include "PerfTimer.h"
#include "AutoFont.h"


int	  RandomInteger(int x,int y);
double RandomFloat();
bool   RandBool();


enum ViewMode{vmTour,vmGraph,vmAll};
enum PlotMode {pmCircular,pmRandom};

class CGlobals
{
public:
	
	static int WIN_WIDTH;
	static int WIN_HEIGHT;	
	static CPerfTimer TIMER;
	static long INFINITY;
	static double EPSILON;
	static double PI;
};

extern CAutoFont gFont;
//extern CPerfTimer Timer;

⌨️ 快捷键说明

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