Kapalı

Java Burrito

For this problem you must use Java’s semaphore class. Your implementation for this

problem must only use the semaphore methods to control the concurrency of your solution

(IE. acquire and release).

Consider a small take-out food place called Burrito Brothers. This very popular

establishment offers a VERY-TASTY burrito (assume the burrito ingredients are infinite.)

There are three servers that own a private beef area, a cheese area, and a tortilla area (IE.

Each server has their own ingredients in an infinite supply). Additionally there are three

shared counter locations, a shared cash register and a shared waiting area that can

accommodate up to 15 customers. By law the shop has a maximum customer capacity of

15.

A customer cannot enter the shop if it is filled to capacity. If the there is room a customer

will gain access to the shop. Each customer will enter the shop with an order of one to 20

burritos. As soon as a server is free, the customer that has the shortest order is served

next.

A server is either servicing a customer or waiting. Each server will make (at most) three

burritos at time for a given customer. Once a server has obtained all ingredients, a burrito

can be made. When a customer’s entire order is finished, the customer pays a cashier and

leaves the shop. Since there is only one cash register, only one patron may pay at a time.

However, in the event that a customer’s entire order has not been filled by the server at the

completion of the current counter visit the customer must reenter the waiting area. The

waiting area is organized by the shortest order next.

Implement a solution to this problem as a Java application using the Java semaphore class

for synchronization. Do not turn in you final application as a package or jar. Your zip file

must expand into a single directory and your application must compile at the command

prompt using javac *.java. Output must include the arrival of each customer and each state

transition: leaving full shop, entering shop with an order of m burritos, customer standing,

getting service from server n, paying, and leaving. Each customer is represented by a

corresponding thread and each server in your implementation is also represented by a unique Java thread. All customers and servers exist within a single application.

The finished assignment must include the following (submitted to WebCT as a ZIP file that

extracts to a single level directory for this problem and does not include your files as a

package or jar):

A detailed design document fully describing your work The Java Burrito Brothers Implementation

o The Java Source Code

o Class files

o The system must compile using the command: javac *.java. The system

must run using the command: java Burrito.

o Output from a run of your application.

Beceriler: Java

Daha fazlasını görün: solution to assignment problem, solution of assignment problem, small food shop design, problem solution assignment, infinite design, free java source code, design a food package, c code for assignment problem, assignment problem solution, application of assignment problem, package food design, the state room, one cash, java thread, concurrency, cash gain, burrito, java jar application, code customer order food, order synchronization, burrito brothers java semaphore, cash register shop, consider small food place called burrito brothers, java code implementation, java using system

İşveren Hakkında:
( 3 değerlendirme ) Miami, United States

Proje NO: #6532015

11 freelancers are bidding on average $137 for this job

eperfections

Hi Dear, I already worked with semaphore classes in java. I did many similar assignments and can do this perfectly. Please award me this project.

in 2 gün içinde64$ USD
(349 Değerlendirme)
7.0
it2051229

Hi, I am placing my bid on your project because I have read the requirements and I am confident enough with my Java and algorithm skills. I am focused mostly on doing computer science work here in [url removed, login to view] and I Daha fazlası

1 gün içinde 50$ USD
(414 Değerlendirme)
6.8
super2lao

A proposal has not yet been provided

in 3 gün içinde252$ USD
(40 Değerlendirme)
5.8
jasqwerty

Hey, if you want this reference code done fast, and right, without having your project outsourced to someone else by an Indian lead hunter, I have commercial experience coding in Java, as well as teaching in a universi Daha fazlası

in 2 gün içinde66$ USD
(35 Değerlendirme)
5.2
szymszteinsl

Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !Ready !

in 3 gün içinde200$ USD
(21 Değerlendirme)
5.0
frcaton

Hello, i have more than four years of java programming experience and i've worked in several simulation projects like this one. Could you share the missing parameters for this application? Time interval of arrivi Daha fazlası

in 2 gün içinde100$ USD
(5 Değerlendirme)
3.4
mcmbuvi

Hi I am an experienced Java developer with excellent software engineering skills. I will be happy to work on this concurrency project according to the specifications and promise to deliver quality work. My work exp Daha fazlası

in 3 gün içinde111$ USD
(2 Değerlendirme)
2.7
justinwebmaster

I am a professional Java developer, who has done extensive design in multi-threaded applications. This project should be simple enough to complete.

in 3 gün içinde155$ USD
(0 Değerlendirme)
0.0
ashrafvora

I have designed and developed product features and project requirements during my career. I am going to design the flow first and share it with you than I will proceed for coding so that there is no space for errors Daha fazlası

in 3 gün içinde155$ USD
(0 Değerlendirme)
0.0
DavidDani

A proposal has not yet been provided

in 3 gün içinde155$ USD
(0 Değerlendirme)
0.0
anuraggupta0707

A proposal has not yet been provided

in 3 gün içinde155$ USD
(0 Değerlendirme)
0.0
VGrowTechno

Why you should partner with me: - Have 7yrs of experience in Java/J2EE based software development - Been part of requirement gathering/design/development/deployment phases of software development - Oracle certifie Daha fazlası

in 5 gün içinde111$ USD
(0 Değerlendirme)
0.0