Deciding which queue acustomer enters

Assignment Help Data Structure & Algorithms
Reference no: EM132088451

Paragraph form

description of the AWT model

description of the assignment based on:

Identify which of the authors' classes used for their Average Waiting Time (AWT) model is responsible for each of the seven items identified in #42.

42) In the Average Waiting Time program, which class (Customer, CustomerGenerator, GlassQueue, Simulation, or SimulationApp) is responsible for:

a) Providing the size of a queue?

b) Deciding which queue acustomer enters?

c) Obtaining the number of queues from the user?

d) Calculating the arrival time of a customer?

e) Calculating the finish time of a customer?

f) Calculating the waiting time for a customer?

g) Calculating the average waiting time?

Use the AWT model to determine a reasonable number of queues needed to serve a thousand customers, under four different scenarios specified in #43.

43) Use the Average Waiting Time program to determine a reasonable number of queues to use if there are 1000 customers and:

a) The inter-arrival time is 5 and the service time is 5

b) The inter-arrival time is 1 and the service time is 5

c) The inter-arrival time ranges from 0 to 20, and the service time ranges from 20 to 100

d) The inter-arrival time ranges from 0 to 2, and the service time ranges from 20 to 100

Modify the AWT model to:

Report out the largest number of customers enqueued at the same time

Assign the next arriving customer to a specific queue based on shortest finish time

Provide a user interface control to allow user to select shortest finish time or shortest queue for assignments

Reference no: EM132088451

Questions Cloud

Immune response involving the nonspecific : So with immune response involving the nonspecific response and immune response. So I need help in order to describe how the three levels of nonspecific
What are all the major organs of the thyroid : What are all the major organs of the thyroid, and what are the hormones they secrete?
What do you think based on software testing : The prototype improves the control flow graph of a program and builds a transformed graph with fewer infeasible paths.
What are all the parts of a multipolar neuron : What are all the parts of a multipolar neuron and their specific functions?
Deciding which queue acustomer enters : Identify which of the authors' classes used for their Average Waiting Time (AWT) model is responsible for each of the seven items identified in #42.
Create a new function randomadd : Create a new function randomAdd(), which adds nodes in random places in the tree, and use that function instead.
Energy performance and thermal comfort : ENEM20003 - Thermofluids Engineering Applications - Development of strategies for efficient and effective energy management in buildings is essential
Write a program that multiplies two square arrays : A function that has an integer as a parameter and returns a pointer to square array of integers (i.e. both dimensions should be equal).
Find albums by genre released after a given year : Find albums by genre released after a given year. Order results by year (DESC). Display all information about each album.

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Implement an open hash table

In this programming assignment you will implement an open hash table and compare the performance of four hash functions using various prime table sizes.

  Use a search tree to find the solution

Explain how will use a search tree to find the solution.

  How to access virtualised applications through unicore

How to access virtualised applications through UNICORE

  Recursive tree algorithms

Write a recursive function to determine if a binary tree is a binary search tree.

  Determine the mean salary as well as the number of salaries

Determine the mean salary as well as the number of salaries.

  Currency conversion development

Currency Conversion Development

  Cloud computing assignment

WSDL service that receives a request for a stock market quote and returns the quote

  Design a gui and implement tic tac toe game in java

Design a GUI and implement Tic Tac Toe game in java

  Recursive implementation of euclids algorithm

Write a recursive implementation of Euclid's algorithm for finding the greatest common divisor (GCD) of two integers

  Data structures for a single algorithm

Data structures for a single algorithm

  Write the selection sort algorithm

Write the selection sort algorithm

  Design of sample and hold amplifiers for 100 msps by using n

The report is divided into four main parts. The introduction about sample, hold amplifier and design, bootstrap switch design followed by simulation results.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd