lptnodes.h
来自「data structures, algorithms and Applicat」· C头文件 代码 · 共 25 行
H
25 行
#ifndef LPTNodes_
#define LPTNodes_
class JobNode {
friend void LPT(JobNode *, int, int);
friend void main(void);
public:
operator int () const {return time;}
private:
int ID, // job identifier
time; // processing time
};
class MachineNode {
friend void LPT(JobNode *, int, int);
public:
operator int () const {return avail;}
private:
int ID, // machine identifier
avail; // when it becomes free
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?