楼主: cynthiashi
1556 2

Question about a simple queuing simulator in R [推广有奖]

  • 0关注
  • 0粉丝

初中生

85%

还不是VIP/贵宾

-

威望
0
论坛币
344 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
100 点
帖子
10
精华
0
在线时间
26 小时
注册时间
2005-3-25
最后登录
2021-5-18

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
Hey, guys!

I am doing a simple queuing simulator in R. I try to find how many people would be in the queue for every new arrival customer. The data set is as follows, including every new arrival customer's arrival time, service start time and service complete time. Assuming there is only one server in the system, how can I solve this problem? Thank you in advance.

         arrival              start         complete
[1,] 0.01345365 0.01345365 0.2597020
[2,] 0.08503941 0.25970205 0.2833175
[3,] 0.16385728 0.28331749 0.4847888
[4,] 0.25902751 0.48478879 0.5314222
[5,] 0.31898485 0.53142223 0.5654170
[6,] 0.40407514 0.56541703 0.9726132
[7,] 0.50859047 0.97261320 1.0238480
[8,] 0.74716389 1.02384802 1.1002212
[9,] 0.86826212 1.10022116 1.6096047
[10,] 1.00333670 1.60960469 2.0518446
[11,] 1.40441984 2.05184461 2.2781671
[12,] 1.46731743 2.27816712 2.5551803
[13,] 1.52208345 2.55518031 2.6200017
[14,] 1.68627805 2.62000170 2.7759630
[15,] 1.75709257 2.77596302 2.8701898
[16,] 1.80958804 2.87018982 2.9144444
[17,] 1.84152929 2.91444444 2.9508584
[18,] 1.90996644 2.95085839 2.9653229
[19,] 1.97449630 2.96532292 3.1571920
[20,] 2.02588923 3.15719198 3.1707705
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:simulator question queuing simple About question simulator simple queuing

回帖推荐

飘洒 发表于2楼  查看完整内容

You can reference the book > by S. ROSS, in which the algorithm is presented.

本帖被以下文库推荐

沙发
飘洒 发表于 2010-4-17 13:28:26 |只看作者 |坛友微信交流群
You can reference the book << Simulation>>  by S. ROSS, in which the algorithm is presented.
已有 1 人评分论坛币 收起 理由
crystal8832 + 5 热心帮助其他会员

总评分: 论坛币 + 5   查看全部评分

It is not entirely satisfying but the alternatives are worse!
统计人

使用道具

藤椅
cynthiashi 发表于 2010-4-18 01:42:44 |只看作者 |坛友微信交流群
2# 飘洒

Thanks a lot~~~ {:3_52:}

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-6-16 23:57