Building a tool booth simulation program using queue

Completed Posted Dec 7, 2015 Paid on delivery
Completed Paid on delivery

Write a program that will use queues to simulate tollbooth station traffic. Cars arrive at the toll station at an average rate (probability). Each toll transaction will take a certain amount of time, according to a user-entered distribution. As each car arrives it is placed in the queue. If the queue is filled to capacity, a second queue is opened and the queues share the accumulated load. A newly arriving car will always go into the shortest queue, thereby acting as a natural balancing method. Whenever all open queues are filled to capacity, a new queue is opened, and the entire load is redistributed. Once a queue is open it is never closed. The object then is to find a minimum \"correct\" number of queues that will maintain servicing incoming traffic without overloading any of the queues. Since probability is a factor, we will assume that \"one hour\" of operation without any queue overload satisfies our objective.

Java

Project ID: #9068680

About the project

2 proposals Remote project Active Dec 7, 2015

Awarded to:

computerneek

I have 5 years experience writing Java and can certainly write the simulator you require, along with an acceleration option to allow the entire several-hour simulation to pass in just seconds. Please contact me for fu More

$10 USD in 1 day
(1 Review)
0.0

2 freelancers are bidding on average $28 for this job

johnfidel98

A proposal has not yet been provided

$45 USD in 1 day
(6 Reviews)
3.7