I gang


Write a program that simulates a supermarket with a number of checkouts. Checkouts in a linked list, and each fund has in turn a queue consisting of a linked list of customers. Service time for a customer randomly using the boundary and is assumed to be rectangular distributed in the range [30.150] (OK, that persist can run with exponential instead). A simple model for how often customers arrive is the following: Every minute will be n customers where n is 0, 1, 2, 3 or 4 with equal probability. (the ambitious using the Poisson distribution instead). Each new arrival customer goes into the currently shortest queue. Use a simple status printout showing the number of customers in each queue. The number of customers served and the average waiting time for each cash may also be interesting to see. As an alternative to the linked list in the implementation can be vectors (vector or array) to be used. In this case, the allocation be dynamic and the number of funds determined at runtime.

And i allready have the code with list i want the code with vectors or deque.

Evner: C++ Programmering

Se mere: vectors programming, vectors in c programming, vector queue, vector cplusplus, programming vector, probability programming, dynamic programming in c, dynamic programming code, dynamic c programming, c vector array, c programming linked list, c programming array, cplusplus vector, cplusplus queue, cplusplus array, can 0 be a probability, array of vectors, array c programming, linked in customer service, supermarket, vector array, implementation queue using array, program supermarket using linked list, persist, supermarket model

Om arbejdsgiveren:
( 1 bedømmelse ) hörr, Sweden

Projekt ID: #4033183

3 freelancere byder i gennemsnit $110 på dette job


Hi, I am ready to work with your project with full experience and skill.

$250 USD in 7 dage
(4 bedømmelser)

Hi! I have years of C++ experience. I have read your requirements and I can do this immediately. I guarantee clean, understandable, and commmented C++ code.

$30 USD på 1 dag
(7 bedømmelser)

I am ready to complete your project. Please check your inbox!

$50 USD på 1 dag
(7 bedømmelser)