Assignment 9 Comments
If you have enough servers, no one ever waits; too few, the line becomes longer and longer.
Results for 1000 periods, average arrival rate 2, transaction time 3:
|
servers
| avg wait
|
|
1 |
87.139 |
|
2 |
.36253 |
|
3 |
0 |
Other comments:
- Would it have been easier to break Simulation.h into separate files?
- Did you change queueAsArray?
- How did you maintain different versions of the program? Configuration management
is the field that deals with this.
- Options for modification: changing arrival probabilities, # of arrivals, sneaking in.
- Everyone chickened out of a new way to update servers.
- Observation: waiting time is clock - arrival time
- Remove waitingTime from customerType
- Don't call updateServers
- Customer waiting time is clock - customer.getArrivalTime()