Answered step by step
Verified Expert Solution
Question
1 Approved Answer
java show output please! what do you mean expand ] Modify and expand the event-driven simulation program that you wrote in Programming Problem 6. Here
java show output please! what do you mean expand
]
Modify and expand the event-driven simulation program that you wrote in Programming Problem 6. Here are a few suggestions a. Add an operation that displays the event list, and use it to check your hand trace in Exercise 10 b. Add some statistics to the simulation. For example, compute the maximum wait in line, the average length of the line, and the maximum length of the line. c. Modify the simulation so that it accounts for three tellers, each with a distinct line. You should keep in mind that there should be Three queues, one for each teller A rule that chooses a line when processing an arrival event (for example, enter the shortest line) Three distinct departure events, one for each line Rules for breaking ties in the event list Run both this simulation and the original simulation on several sets of input data. How do the statistics compare? d. The bank is considering tire following change: Instead of having three distinct lines (oire for each teller), there will be a single line for tire three tellers. The person at tire front of the line will go to the first available teller. Modify the simulation of Partc to account for this variation. Rtur both simulations oxr several sets of input data. How do tire various statistics compare (averages and nraxinrums)? What can you conclude about having a single line as opposed to having distinct lines? Modify and expand the event-driven simulation program that you wrote in Programming Problem 6. Here are a few suggestions a. Add an operation that displays the event list, and use it to check your hand trace in Exercise 10 b. Add some statistics to the simulation. For example, compute the maximum wait in line, the average length of the line, and the maximum length of the line. c. Modify the simulation so that it accounts for three tellers, each with a distinct line. You should keep in mind that there should be Three queues, one for each teller A rule that chooses a line when processing an arrival event (for example, enter the shortest line) Three distinct departure events, one for each line Rules for breaking ties in the event list Run both this simulation and the original simulation on several sets of input data. How do the statistics compare? d. The bank is considering tire following change: Instead of having three distinct lines (oire for each teller), there will be a single line for tire three tellers. The person at tire front of the line will go to the first available teller. Modify the simulation of Partc to account for this variation. Rtur both simulations oxr several sets of input data. How do tire various statistics compare (averages and nraxinrums)? What can you conclude about having a single line as opposed to having distinct linesStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started