queue.h

来自「银行排队的数学模型的实现 问题: n银行有n个窗口对外营业」· C头文件 代码 · 共 43 行

H
43
字号
#ifndef QUEUE_H 
#define QUEUE_H

#include "client.h"

class Queue
{
private:
	Client*		m_pHead;
	Client*		m_pRear;
public:
	Queue();
	~Queue();
	int			Free();

//	int			Get_Top_Arrtime();
	int			Join_Queue(int narrive_time, int ndeal_time);
	int			Push_Client(Client*	pclient);
	int			Quit_Queue();
	friend	class	Strategy_1;
	friend	class	Strategy_2;
	friend	class	Strategy_3;
};



















#endif

⌨️ 快捷键说明

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