job&machine.h
来自「计算机算法设计与分析(王晓东)教材上相关源程序代码。 包括分治法(4)」· C头文件 代码 · 共 18 行
H
18 行
class jobnode
{
friend void greedy(jobnode*,int,int);
friend void main(void);
public:
operator int() const {return time;}
private:
int ID,time;
};
class machinenode
{
friend void greedy(jobnode*,int,int);
public:
operator int() const{return avail;}
private:
int ID,avail;
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?