搜索资源列表
processsynchronous
- 经典胡睡觉理发师问题,利用信号量实现进程同步-Classic Hu sleeping barber problem using semaphores to achieve process synchronization
BarberSimulation
- 单人理发馆系统的仿真,单人理发馆系统,设上午九点开门,下午7点关门,理发师共工作10小时,顾客的到达时间为随机的,服从泊松分布,理发师为顾客服务的时间长度也是随机的,服从正态分布。 该系统采用进程交互法对仿真进行描述。 -Single system simulation barber, barber single system, designed to open the door nine o' clock, 19 o' clock closing, a total of 10 ho
lifashisleep
- 这是关于多线程的理发师睡觉问题,对于在校大学生或者初学者可以参考学习用-This is a multi-threaded barber on sleep problems, for college students or beginners can learn to use reference
mm1
- 一个简单的排队系统仿真应用,可用于理发店等单队列的场合。-A simple queuing system simulation application, can be used for a single queue barber shop and other occasions.
barbershop
- 利用二叉树模拟理发店顾客的等待时间情况,其中以随机数生成的顾客流-using binary Tree Simulation to simulate customer waiting time in barber shops, of which a random number generator of customer flow
sleepingbarber
- 睡着的理发师问题 关于进程调用互锁的经典例题-Barber problem sleeping on the process of calling a classic example interlock
Sleeping-Barber
- implementation of Sleeping barber algorithm in c lang. using pthreads.
barars
- ,(1)一个理发店接待室有n张椅子,工作室有1张椅子; (2)没有顾客时,理发师睡觉; (3)第一个顾客来到时,必须将理发师唤醒; (4)顾客来时如果还有空座的话,他就坐在一个座位上等待; (5)如果顾客来时没有空座位了,他就离开,不理发了; (6)当理发师处理完所有顾客,而又没有新顾客来时,他又开始睡觉。用条件变量实现(3张椅子)-, (1) a barber shop reception room with n chairs, studios have a chair (2) no cus
3
- 理发店营业仿真: 理发店有2名理发师,为每名顾客服务时间MU=20min+-SIGMA=3min服从正态分布,顾客相继到达,时间间隔服从1/LAMBDA=10min的指数分布.顾客到达后如发现店内有6人以上排队等待,30 顾客会选择离开,其余人继续等待. 要求:建模,仿真 一天10小时营业,统计N天内: 1.理发师实际服务人数 2.平均队长及因排队人数过多而离去的人数 3.ALPHA=0.05计算置信区间. -Barber shop business simulati
berberShop
- four class theirname are Barbershop,Barber,Customer,Cashier Barber,cashier,customer is thread threfore extended thread class i write main method inside Barbershop class and call methods from it.
3
- 在操作系统中,可以利用pv操作实现理发师问题。可以计算需要等待的人数-In the operating system, you can use pv operation to achieve barber problem. The number can be calculated to wait
lifadianwentimonifangzhen
- 使用的排队现象,通过仿真手法评估其营业状况。*基本要求:设某理发馆有N把理发椅,可同时为N位顾客进行理发。-Queues used to assess the status of its business through simulation techniques.* Basic Requirements: Set up a barber shop to barber chair of N, N-bit customers can simultaneously be a haircut.
barber
- 理发店的服务过程仿真 一个理发店有两位服务员A和B顾客随机地到达该理发店,每分钟有一个顾客到达和没有顾客到达的概率均是1/2 , 其中60 的顾客理发仅用5分钟,另外40 的顾客用8分钟 . 试对前10分钟的情况进行仿真。-Service process simulation of a barber shop barber shop attendant A and B, there are two customers arrive at the barber shop randomly,
www.dssz.com_27796718sy5
- 运用c语言模拟理发店经营情况,以队列实现的仿真技术预测理发馆经营状况。(Using C language simulation barber shop operation, the queue simulation technology to predict the barber shop operating conditions.)
