Location:
Search - waiting in line
Search list
Description: 题目内容:使用队列模拟理发馆的排队现象,通过仿真手法评估其营业状况。
基本要求:
假设理发馆内设有N把理发椅,可同时为N位顾客进行理发。对于在营业时间(假设为T小时)内进门的顾客:
*当顾客进门时,若有空椅,则可以立即坐下理发,否则需要依次排队等候。
*一旦有顾客理完发离去时,排在队头的顾客便可开始理发。
*若理发馆每天连续营业T小时,求一天内顾客在理发馆内的平均逗留时间
*顾客排队等候的队列平均长度。
*营业时间到点后仍需完成服务的收尾工作时间。-topics as : the use of cohort simulation barber's shop, the queues, through simulation methods to assess its financial situation. Basic requirement : Suppose N Barber Library has put barber chairs, as well as for customers, N barber. For hours (assuming T-hour) entering customers : * When customers come through the door, if empty chairs, they can sit down barber immediately, otherwise needs were queuing up. * Once customers Jimmy End made to leave, the first in the queue of customers will start barber. * If the Barber Museum consecutive business day T-hour day for customers in the barbershop where the average length of stay * Customers waiting in line for the average queue length. * Hours after the close of the service needs to be done finishing time.
Platform: |
Size: 7560 |
Author: lucky100 |
Hits:
Description: VHDL 8位无符号除法器 试验报告
计算前在A和B端口输入被除数和除数,然后在Load线上送高电平,把数据存到除法计算电路内部,然后经过若干个时钟周期,计算出商和余数,并在C和D端输出。
其实现方法是,将除法器分为两个状态:等待状态与运算状态。
开始时除法器处于等待状态,在该状态,在每一时钟上升沿,采样Load信号线,若是低电平,则仍处于等待状态,如果采样到高电平,除法器读取A,B数据线上的输入数据,保存到内部寄存器a_r,b_r,置c_r为0,d_r为a_r,判断除数是否为零,若不为零则进入运算状态。
-VHDL eight unsigned divider calculation of the test report before the A and B ports to import and dividend divider, and then sent to I Load line, the data are uploaded to the internal division calculation circuit, and then after a number of clock cycles, and worked out more than a few, and in the C-and D output. Their method is to be divided into two division for the state : waiting for the state and Operational state. At the beginning divider waiting for the state, in the state in each clock rising edge, sampling Load signal line, if low-level, it is still waiting for the state, if the sampling to allow high output, Divider read A, B online data input data, preservation of the internal registers renovation r, b_r, home c_r 0, d_r a_r to determine whether the divisor zero, if not zero, it
Platform: |
Size: 82944 |
Author: aa |
Hits:
Description: 题目内容:使用队列模拟理发馆的排队现象,通过仿真手法评估其营业状况。
基本要求:
假设理发馆内设有N把理发椅,可同时为N位顾客进行理发。对于在营业时间(假设为T小时)内进门的顾客:
*当顾客进门时,若有空椅,则可以立即坐下理发,否则需要依次排队等候。
*一旦有顾客理完发离去时,排在队头的顾客便可开始理发。
*若理发馆每天连续营业T小时,求一天内顾客在理发馆内的平均逗留时间
*顾客排队等候的队列平均长度。
*营业时间到点后仍需完成服务的收尾工作时间。-topics as : the use of cohort simulation barber's shop, the queues, through simulation methods to assess its financial situation. Basic requirement : Suppose N Barber Library has put barber chairs, as well as for customers, N barber. For hours (assuming T-hour) entering customers :* When customers come through the door, if empty chairs, they can sit down barber immediately, otherwise needs were queuing up.* Once customers Jimmy End made to leave, the first in the queue of customers will start barber.* If the Barber Museum consecutive business day T-hour day for customers in the barbershop where the average length of stay* Customers waiting in line for the average queue length.* Hours after the close of the service needs to be done finishing time.
Platform: |
Size: 62464 |
Author: lucky100 |
Hits:
Description: 我设计的指标思路:
1、均线流:日均线5、10、30、65、250中线多头排列,而短线处于波浪底部(即二浪回调末端);
2、偏离率:股价偏离60日线10%以下;股价偏离250日线30%以下;
3、MACD指标连续10天以上处于底部状态;
4、同时符合1+2+3三个条件,说明该股属于中线庄股,锁定目标;
5、当MACD重新走强、股价出现放量上涨之日,就是三浪启动之时——果断买入,等待拉升!-I thought the design of indicators: 1, average flow: on average with long 5,10,30,65,250 midline, while the short-term in the wave at the bottom (that is, the end of the second wave callback) 2, deviate from the rate: shares deviate from the line for 60 days below 10 price deviation from the 250 on-line 30 below 3, MACD indicators for more than 10 days in a row at the bottom of state 4, at the same time in line with the 1+ 2+ 3 three conditions that the unit belongs to the center line庄股, target 5 , when the MACD re strong, share prices rose the day of heavy volume, that is, the start of the three waves- decisive buying, waiting for try for!
Platform: |
Size: 1024 |
Author: 蔡准 |
Hits:
Description: 笔顺库7200多个中文汉字 +源码
第一列为中文.第二列为笔画数,第三列数据“12345”分别表示该汉字的书写笔画“一|丿、乙”。最后两位数字,是根据姓名排序规则的具体要求,对笔画、笔形完全相同,又是同一种结构的字,根据先左右,再上下,后整体,以及把字形比较简单的字排在前头等规定的综合要求,用01、02、03等作为优先次序的识别代码。通过这样的调整,本笔画库的排次基本符合国家与地方各级人民代表大会召开选举大会所要求的“按姓名笔画排序”的笔画要求。-Order of strokes Treasury more than 7200 Chinese characters+ Source as Chinese first. The second as few strokes, the third column of data 12345 , respectively, said the number of strokes of Chinese characters to write a | de-B. The last two figures are based on the names of the specific requirements of the rules sort of strokes, pen-shaped exactly the same, but also the structure of the same word, according to first around, and then from top to bottom, the latter a whole, as well as the relatively simple character-shaped top top provides comprehensive requirements 01,02,03 as priorities identification code. Through this adjustment, the number of strokes in the Treasury waiting times in line with national and local People s Congress at all levels requested by the General Assembly to convene the election of the number of strokes to sort by name request the number of strokes.
Platform: |
Size: 110592 |
Author: |
Hits:
Description: 2、 到医院看病的过程是,患者先排队等候,排队过程中主要重复两件事:
(1) 病人到达诊室时,将病例交给护士,排到等候队列中候诊。
(2) 护士从等候队列中取出下一个患者的病例,该患者进入诊室就诊。
在排队时按照“先到先服务”的原则。设计一个算法模拟病人等候就诊的过程。-2, to process the hospital, the patient first in line to wait in line to repeat the process two main things: (1) patients reached the clinic, it will be handed over cases of nurses, into the waiting queue waiting. (2) nurses removed from the queue waiting for a patient
Platform: |
Size: 1024 |
Author: 刚刚 |
Hits:
Description: this program is a simulation program that simulates the waiting line of tellers in a bank or applies to anything that deals with waiting
Platform: |
Size: 7168 |
Author: dwayne |
Hits:
Description: M/M/1单服务台派对系统,(用事件调度法实现离散事件系统仿真) 顾客到达模到达时间间隔和顾客服务时间均服从负指数分布,单服务台系统,按照单队排队,按FIFO方式服务。考察服务n个顾客后的顾客平均队长及平均排队等待时间-M/M/1 single desk party system (with the event scheduling system for discrete event simulation) model to reach customers arrival time and customer service have a negative exponential distribution, single-desk system, in accordance with the single-team line up, according to FIFO way service. N a customer service inspection after the average length and average customer waiting time
Platform: |
Size: 8192 |
Author: 飞龙 |
Hits:
Description: 通过MATLAB实现对无排队等待的呼叫系统的仿真,并且得出在不同的呼叫到达速率下系统的阻塞率,并且和理论的erlangB公式做出对比。-MATLAB to achieve through the call without waiting in line system simulation, and come to a different call arrival rate in the system blocking rate, and the formulas and theories erlangB to make comparison.
Platform: |
Size: 2048 |
Author: |
Hits:
Description: 用蒙特卡洛法实现对排队等待问题的计算机模拟,很有学习价值,大家可以参考下,-Monte Carlo method to realize the problem of computer simulation of waiting in line, great learning value, we can refer to, huh, huh
Platform: |
Size: 48128 |
Author: guoyu |
Hits:
Description: 这是一个使用了Gabor特征提取和人工智能的人脸检测系统源代码
使用步骤:
1. 拷贝所有文件到MATLAB工作目录下(确认已经安装了图像处理工具箱和人工智能工具箱)
2. 找到"main.m"文件
3. 命令行中运行它
4. 点击"Train Network",等待程序训练好样本
5. 点击"Test on Photos",选择一个.jpg图片,识别。
6. 等待程序检测出人脸区域
createffnn.m, drawrec.m, gabor.m, im2vec.m, imscan.m, loadimages.m, main.m, template1.png, template2.png, trainnet.m-This is a use of the Gabor feature extraction and artificial intelligence source code of face detection system using the steps: 1. Copy all files to the MATLAB working directory (sure you have installed the Image Processing Toolbox, and artificial intelligence toolbox) 2. Found " main.m " file 3. the command line, run it 4. Click the" Train Network " , waiting for a good sample of the training program 5. Click the" Test on Photos " , select a. jpg image recognition. 6. Wait for the program detects the face region createffnn.m, drawrec.m, gabor.m, im2vec.m, imscan.m, loadimages.m, main.m, template1.png, template2.png, trainnet.m
Platform: |
Size: 140288 |
Author: 郑碧波 |
Hits:
Description: 用pjsip的库编写web网络电话,说明:
1.先安装pjsip的库。
2.你需要两个sip账号,分别填入第114行和116行。
第一个参数是SIP服务器,第二是用户名,第三是密码。
3.被叫号在第49行,你可以修改成从文件读或者其他。
4.第131行,从E盘根目录获取“电话号码.call”文件。获取之后就把该文件删掉。并呼叫该号码。
5.第44行,等待音文件,必须是标准的wav文件,可以用windows自带的录音机自己录制,转码出来的有可能不被支持,会报异常,此处未作处理
6.本程序是拿来做网页免费电话(web800)用的,当用户在web上填入一个号码,就可以自动回拨他,播放等待音,并接通第49行设定的客服号码。
7.web部分考虑到各人服务器不一样,未给出,只需按格式写入一个空文件到131行设定的路径就可以-Written in the pjsip the library web network telephone, stating:
1 to install the pjsip the library.
You need two sip accounts, respectively, to fill 114 lines and 116 lines.
The first parameter is the SIP server, the second is the user name and password.
3 called in line 49, you can modify the file read or other.
Four. Line 131, obtained from the root directory of E telephone number call "file. Fetch and then put the file is deleted. And call the number.
5 line 44, waiting for the sound file must be a standard wav file, you can use windows built-in recorder to record your own out of transcoding may not be supported, exception will be reported here is not dealt with
This procedure is used as the web pages Toll-free (web800) used when the user fill in a number on the web, you can automatically call back him, the player waiting tone, and connected to the line 49 to set the customer service number.
7.web part of each one taking into account the server is not the same, is not given
Platform: |
Size: 541696 |
Author: wenda |
Hits:
Description: matlab源程序_用蒙特卡洛法实现对排队等待问题的计算机模拟
来自51CTO-matlab source _ the method of Monte Carlo computer simulation of waiting in line
From 51CTO
Platform: |
Size: 36864 |
Author: 尤书畅 |
Hits:
Description: 客户到银行办理业务,需要取号排队等候。客户分为VIP客户、理财客户、一般客户三种类型。不同类型客户,取得不同的排队序号凭证,进入不同序列排队等候。当服务窗口出现空闲时,按既定策略从三种类型客户中选取客户接受服务。
选取客户接受服务的策略如下:
(1)三种类型客户的服务优先顺序从高到低依次为:VIP客户、理财客户、一般客户;
(2)相同类型的客户采取先来先服务的原则;
(3)当一般客户连续5次未被选中时,下一次优先选取一般客户接受服务。
-Customers to the bank for business, you need to take a number to wait in line. Customers are divided into VIP clients, financial clients, the general customers three types. Different types of customers to obtain the queued serial number certificate, into a different sequence of waiting in line. When the Services window appears idle select from three types of customers, customer acceptance of services, in accordance with the established strategy.
Select customers receive services strategy is as follows:
(1) three types of customer service priority in the order of: VIP customers, Banking customers, the general customers
(2) of the same types of customers to adopt the principle of first come, first service
(3) when the general customers five times in a row is not selected, the next priority being given to the general customers to receive services.
Platform: |
Size: 173056 |
Author: 宋阳 |
Hits:
Description: 随着Internet的迅速流行,越来越多的应用程序需要具备在网上与其它程序通信的能力,Windows应用程序可以有无限的网络功能,所有这些都建立在WinSock接口的基础上。
在网上通信的应用程序,无论是通过因特网还是通过小型办公网都采用同样的原则,通过类似的功能实现网络通信。一台计算机中的一个应用程序等待另一个应用程序打开网络连接,执行通信,这个应用程序“监听”其它应用程序的连接请求,就像你守在电话机旁等待电话一样。
同时,另一个应用程序(一般在另一台计算机上),试图与“监听”应用程序连接。这种打开连接的做法与打电话给别人一样。你拨电话时希望对方在线路的那一头等你,打电话时必须知道对方的电话号码。如果不知道,可以查电话本。类似地,应用程序要建立连接也必须知道对方的网络地址。
在两个应用程序间建立连接后就可以发送消息,正像你在电话中与对方交谈一样。-With the rapid popularity of the Internet, more and more applications need to have the ability to communicate online with other programs, Windows applications can have unlimited networking features, all of which have been established on the basis of the WinSock interface.
In online communication applications, whether it is to apply the same principle through the Internet or through a small office network, network traffic through a similar function. An application in a computer waiting for another application to open the network connection, the implementation of communication, the application to "listen" other application s connection request, as you keep by the phone waiting for the phone.
The same time, another application (usually in another computer), trying to "listen" to the application connection. The open connection is to call others. When you dial the telephone to each other in line in that first class, when the call must know each other s phone numbers. If you do not know, y
Platform: |
Size: 619520 |
Author: linjiaqing |
Hits:
Description: 模拟银行排队办公
进入银行办理业务,排队等候;
办理完毕,离开队列,显示当前队伍顾客信息-Simulates the bank queue office into the bank to conduct business, waiting in line completed, leave the queue, displays the current team of customer information
Platform: |
Size: 1024 |
Author: 姜林 |
Hits:
Description: 本程序是实行一个停车管理系统功能。可实现排队等候、记录车位号、记录出入停车场时间、计算收费等功能。-This program is the implementation of a parking management system functions.Waiting in line to achieve record number of parking spaces, access to parking time records, calculate charges and other functions. .
Platform: |
Size: 2048 |
Author: 李紫铃 |
Hits:
Description: 浙大 编程能力测试 的甲级题目 第 1017. Queueing at Bank (25) 服务窗口排队问题-Suppose a bank has K windows open for service. There is a yellow line in front of the windows which devides the waiting area into two parts. All the customers have to wait in line behind the yellow line, until it is his/her turn to be served and there is a window available. It is assumed that no window can be occupied by a single customer for more than 1 hour.
Now given the arriving time T and the processing time P of each customer, you are supposed to tell the average waiting time of all the customers.
Platform: |
Size: 1024 |
Author: 林七七 |
Hits:
Description: 浙大 编程能力测试 的甲级题目 第 1014. Waiting in Line (30) 又是一道服务队列问题-uppose a bank has N windows open for service. There is a yellow line in front of the windows which devides the waiting area into two parts. The rules for the customers to wait in line are:
The space inside the yellow line in front of each window is enough to contain a line with M customers. Hence when all the N lines are full, all the customers after (and including) the (NM+1)st one will have to wait in a line behind the yellow line.
Each customer will choose the shortest line to wait in when crossing the yellow line. If there are two or more lines with the same length, the customer will always choose the window with the smallest number.
Customer[i] will take T[i] minutes to have his/her transaction processed.
The first N customers are assumed to be served at 8:00am.
Platform: |
Size: 1024 |
Author: 林七七 |
Hits:
Description: 数据结构的选择 考虑到病人排队候诊的过程中具有先排队就诊的特诊,与队列的先进先出的特 征相吻合,因此可以考虑采用队列线性表,其中,队列的存储结构有循环顺序队列 和单链队列。(The choice of data structure Considering patients waiting in line with first line treatment in the process of the diagnosis, and the first in first out queue consistent identities, so can consider to use queue linear table, among them, the storage structure of queue queue and single loop order queue.)
Platform: |
Size: 141312 |
Author: IU521
|
Hits: