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

📄 machine.h

📁 datastucutre and algorithms, application, in C
💻 H
字号:

// struct used in machine shop simulation
#ifndef machine_
#define machine_

#include "arrayQueue.h"
#include "job.h"

using namespace std;

struct machine
{
   arrayQueue<job*> jobQ;
                     // queue of waiting jobs for this machine
   int changeTime;   // machine change-over time
   int totalWait;    // total delay at this machine
   int numTasks;     // number of tasks processed on this machine
   job* activeJob;   // job currently active on this machine

   machine()
   {
      totalWait = 0;
      numTasks = 0;
      activeJob = NULL;
   }
};
#endif

⌨️ 快捷键说明

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