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

📄 simulation.h

📁 产生一个随机数
💻 H
字号:
#include"event.h"
#include"skewHeap.h"
#include"priorityQueue.h"
#ifndef SIMULATION
#define SIMULATION
class simulation
{
public:
     simulation();
     void run();
     unsigned int currentTime();
     void scheduleEvent(event* );
     int done;
protected:
     skewHeap<event&>eventQueue;
     unsigned int time;
};
#endif          

⌨️ 快捷键说明

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