CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 数值算法/人工智能 数据结构常用算法

文件名称:Bank

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2013-05-26
  • 文件大小:
    2.21mb
  • 已下载:
    4次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

银行排队模拟系统

设计一个程序模拟银行叫号系统。

假设某银行有5个服务窗口,一个统一的叫号系统。在服务时段内,每个时间单位有随机数目的顾客到来,每个新来的顾客得到一个顺序号,排入等待服务队列,等待叫号。

每个服务窗口的职员处理完一个顾客的业务后,顾客即刻离开,职员呼叫下一个顾客,窗口显示下一个顾客的服务号。被叫号的顾客随即得到服务。假定每个顾客需要的服务时间也是随机的。试设计程序模拟上述场景。

要求在服务时段内显示如下实时信息和统计信息:

1) 每个窗口正在办理业务的顾客的顺序号

2) 目前等待顾客人数

3) 每个顾客得到服务之前已等待的时间单位数

并在所有顾客离开后,显示如下统计信息:

1)   顾客等待的平均时间单位数

2)   每个窗口服务的顾客数

-Bank queuing simulation system

Design a program to simulate the bank calling system.

Suppose a bank has five service windows, a unified calling system. In the service period, the number per unit of time customers have random arrival of each new customer to get a sequence number, queued for service queue, wait for the call.

Each service windows finished with a staff of customer service, the customer immediately leave, the staff calls the next customer, the window displays the next customer service number. Then get called customer service number. Assume that each customer needs service time is also random. Try to design program to simulate the scenario described above.

Requirements in the service period shows real-time information and statistics are as follows:

1) Each window is for business customers the sequence number

2) the number of customers currently waiting

3) receive services each customer waiting time before the number of units

And in all customer left, displays the fol
(系统自动生成,下载前可以参看下载内容)

下载文件列表

DOC/
DOC/week06.pdf
DOC/实验六.docx
EXE/
EXE/week06.exe
SRC/
SRC/week06(bank.cpp).cpp
SRC/week06(bank.h).h
SRC/week06(customer.h).h
SRC/week06(sicily1443).cpp

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com