文件名称:MoNiJiaYouZhanDuiLie
介绍说明--下载内容均来自于网络,请自行研究使用
模拟加油站队列
某汽车加油站有两台油泵,每台油泵为一辆汽车加油需d分钟(浮点型),现已知此加油站来车率为1/q分钟(q整型),现用计算机模拟此加油站的工作方式,假设模拟时间长度为longtime(整型)分钟,并用步长法模拟,取采样时间间隔为dt(浮点型)分钟。经典的队列问题,可供初学者熟悉队列的操作
运行后输入d,q,longtime,dt(用空格隔开)即可-Simulation of an automobile gas station gas station queue has two pumps, each pump for a vehicle refueling takes d minutes (floating-point type), now known that this gas station to car rate of 1/q min (q integer), Computer simulation is used in this work stations, assuming that the length of time for the simulation of longtime (integer) minutes, and step-size simulation, check the sampling time interval dt (floating-point type) minutes. Queue classic problem for beginners familiar with the operation of the queue to run after the input d, q, longtime, dt (separated by spaces) can
某汽车加油站有两台油泵,每台油泵为一辆汽车加油需d分钟(浮点型),现已知此加油站来车率为1/q分钟(q整型),现用计算机模拟此加油站的工作方式,假设模拟时间长度为longtime(整型)分钟,并用步长法模拟,取采样时间间隔为dt(浮点型)分钟。经典的队列问题,可供初学者熟悉队列的操作
运行后输入d,q,longtime,dt(用空格隔开)即可-Simulation of an automobile gas station gas station queue has two pumps, each pump for a vehicle refueling takes d minutes (floating-point type), now known that this gas station to car rate of 1/q min (q integer), Computer simulation is used in this work stations, assuming that the length of time for the simulation of longtime (integer) minutes, and step-size simulation, check the sampling time interval dt (floating-point type) minutes. Queue classic problem for beginners familiar with the operation of the queue to run after the input d, q, longtime, dt (separated by spaces) can
(系统自动生成,下载前可以参看下载内容)
下载文件列表
模拟加油站队列.cpp