out - Time: 30. Nigel Gwee has waited 6 time units! Time:...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Time 0. Simulation begins Time: 1. John Smith has just arrived! Time: 2. Bob Jones has just arrived! Time: 4. Ann Arbor has just arrived! Time: 6. John Smith has just been served! Time: 6. Bob Jones has waited 4 time units! Time: 11. Bob Jones has just been served! Time: 11. Ann Arbor has waited 7 time units! Time: 16. Ann Arbor has just been served! Time: 20. Al Capone has just arrived! Time: 22. David Smith has just arrived! Time: 24. Nigel Gwee has just arrived! Time: 25. Al Capone has just been served! Time: 25. David Smith has waited 3 time units! Time: 26. Bonny and Clyde has just arrived! Time: 28. Jesse James has just arrived! Time: 30. David Smith has just been served!
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Time: 30. Nigel Gwee has waited 6 time units! Time: 30. Nelson Rockefeller has just arrived! Time: 35. Nigel Gwee has just been served! Time: 35. Bonny and Clyde has waited 9 time units! Time: 40. Bonny and Clyde has just been served! Time: 40. Jesse James has waited 12 time units! Time: 45. Jesse James has just been served! Time: 45. Nelson Rockefeller has waited 15 time units! Time: 50. Nelson Rockefeller has just been served! Time: 88. Bjarne Stroustrup has just arrived! Time: 91. Bjarne Stroustrup has just been served! Total number of customers: 10 Total waiting time: 56 time units Average waiting time: 5.6 time units per customer...
View Full Document

This note was uploaded on 01/17/2012 for the course CSC 1254 taught by Professor Blanks,l during the Fall '08 term at LSU.

Ask a homework question - tutors are online