Hi everyone:
Can anyone help me how to implement a M/M/1 queue in C++?
Thanks in advance for your help
|
Team Leader
|
![]() |
| 10Jan2007,10:13 | #2 |
|
I don't know what you want. A queue is a queue. The C++ STL has both a vector and deque. Your notation merely implies constraints on the arrival time, service time, and number of servers. Evaluating such a queue can be done either mathematically or by simulation.
|
|
Go4Expert Founder
|
![]() |
| 10Jan2007,10:47 | #3 |
|
DaWei,
He is looking for an implementation of http://www.eventhelix.com/RealtimeMa..._m_1_queue.htm martial, Try start on your work and we can definitely help you on this. |
|
Team Leader
|
![]() |
| 10Jan2007,20:44 | #4 |
|
The question is: is he trying to simulate the operation of such a queue, determine its characteristics mathematically, using C++, or just implement a single-server queue?
|
|
Go4Expert Founder
|
![]() |
| 10Jan2007,21:42 | #5 |
|
Quote:
Originally Posted by DaWei
|


