Objectives Design and implement a discrete event simulation Choose and implement appropriate data structures Adapt standard algorithms to a specic problem Task

Objectives Design and implement a discrete event simulation Choose and implement appropriate data structures Adapt standard algorithms to a specic problem Task You should write a single program which simulates the queuing and service of customers under two dierent queuing strategies and compare the results. Program Your program should run two discrete event simulations, one for each strategy. Each simulation should start at time 0 and run until all customers have been served. The two queueing strategies are as follows: Use a single queue from which each server will take the next customer as soon as the server becomes available. Use a queue for each server. Customers will choose the server with the shortest queue on arrival and will not move from queue to queue. Your program should be readable and well commented. Data Structures and Algorithms Part of the purpose of this subject is to gain an in-depth understanding of data structures and algorithms. As such, all programming tasks in this subject require you to choose appropriate data structures and algorithms, and to implement them yourself. You may not take advantage of any built in data structures more complex than an array, but instead should provide your own implementation. The use of STL, Java Collection, or any collection framework in your language of choice, is disallowed. If you use any references other than the lecture notes, ensure you cite them or you may receive 0 for plagiarism. A clear comment in your code is sucient. Readme Write a text le named readme. Include clear instructions on how to compile and run your algorithm. Ensure that your program compiles and runs correctly on ubuntu, in the lab. If your program does not compile, it will receive 0 marks. If it doesn't run according to the specication, you will receive very few marks. You may also include a makele if you wish. Analysis Once your program is complete, you should run it for some sample scanarios and examine the results. Write a le named analysis.pdf containing a discussion the dierences you observe in statistics between the two queueing strategies. Which strategy is most ecient? Input Both simulations will use identical inputs. Your program should read a le name from standard input, and run each simulation using the named le as the input le. The input le has the following format: The number of servers. A set of lines each consisting of a customer arrival time followed by the corresponding service time. Times are in seconds, from the start of the simulation. Although a sample input le has been provided, your program should still run sucessfully substantially larger inputs. Output Output should be to standard output. For each of the two simulations the output should consist of the following data, clearly labelled: Number of people served. Time that the last customer nished being served (total simulation time). Average service time (note this should depend only on the input le). Average time a customer spends in queue. Maximum time a customer spends in queue. Average length of queue in any given second. For each queue and in total for the multi-queue version of the simulation. Maximum Length of queue. For each queue and in total for the multi-queue version of the simulation. Total idle time for each server.

WE ALL KNOW CLASSWORK IS BORING. THUS, OUR ESSAY HELP SERVICE EXISTS TO HELP STUDENTS WHO ARE OVERWHELMED WITH STUDIES. ORDER NOW FOR 20% DISCOUNT. USE CODE SAVE20

Source link


Objectives Design and implement a discrete event simulation Choose and implement appropriate data structures Adapt standard algorithms to a specic problem Task was first posted on April 22, 2020 at 9:01 pm.
©2020 "My Assignment Geek". Use of this feed is for personal non-commercial use only. If you are not reading this article in your feed reader, then the site is guilty of copyright infringement. Please contact me at savvyessaywriters@gmail.com

#write essay #research paper #blog writing #article writing #academic writer #reflective paper #essay pro #types of essays #write my essay #reflective essay #paper writer #essay writing service #essay writer free #essay helper #write my paper #assignment writer #write my essay for me #write an essay for me #uk essay #thesis writer #dissertation writing services #writing a research paper #academic essay #dissertation help #easy essay #do my essay #paper writing service #buy essay #essay writing help #essay service #dissertation writing #online essay writer #write my paper for me #types of essay writing #essay writing website #write my essay for free #reflective report #type my essay #thesis writing services #write paper for me #research paper writing service #essay paper #professional essay writers #write my essay online #essay help online #write my research paper #dissertation writing help #websites that write papers for you for free #write my essay for me cheap #pay someone to write my paper #pay someone to write my research paper #Essaywriting #Academicwriting #Assignmenthelp #Nursingassignment #Nursinghomework #Psychologyassignment #Physicsassignment #Philosophyassignment #Religionassignment #History #Writing #writingtips #Students #universityassignment #onlinewriting #savvyessaywriters #onlineprowriters #assignmentcollection #excelsiorwriters #writinghub #study #exclusivewritings #myassignmentgeek #expertwriters #art #transcription #grammer #college #highschool #StudentsHelpingStudents #studentshirt #StudentShoe #StudentShoes #studentshoponline #studentshopping #studentshouse #StudentShoutout #studentshowcase2017 #StudentsHub #studentsieuczy #StudentsIn #studentsinberlin #studentsinbusiness #StudentsInDubai #studentsininternational