2008年6月12日 星期四

M/M/1 programing project

Some review of M/M/1

= arrival process/service process/number of servers
= exponential distribution for the interarrival times of customers /exponential distribution for the service time of customers/1 server

Kendal's notation.

The M/M/1 system is made of a Poisson arrival, one exponential (Poisson) server, FIFO (or not specified) queue of unlimited capacity and unlimited customer population.

update
今天口試完了,可以繼續想code。
現在卡在error410(TimeStamp > Q.Scheduled_Time)這部份是錯的
應該錯誤是出在dynamic queue的部份,還在debug

已經把輸入方式改成console.現在先將老師上課給的參數先填進去模擬。不用每次都重新輸入。

Dynamic Queue複習一下

仍在修改版本



改了第二個版本

模擬如下






REF:


The M/M/1 Queuing System

M/M/1 Solver & Simulator

沒有留言:

張貼留言