Firstly, trains must enter to the check point. In this train station, there is one check point serving trains. As a result, only one train can enter to the check point at a time even if several trains arrived at the same time to the station. At the check point, the station's workers determine the priority of the entered train. Moreover, they estimate the time that the train will take it in the common line. Usually the priority of the train is given depending on their types [passenger train, train of goods (full), and train of goods (empty)]. Obviously, if there are trains with same type, the one with earlier arrival time is assigned a higher priority. And in the case of tie, the higher priority is given to one train in random. Similarly, the time a train takes it in the common line is decided based on the train's type. For instance, a passenger train is given a time ranging from 20-30 minutes, a train of goods (full) from 40-50 minutes, and a train of goods (empty) from 30-40 minutes.
Design a system for the train station which automates the operation of admitting the trains to the station and scheduling them to the common line.
At the end, calculate the average waiting time and average turnaround time for all trains coming to the train station. Assume the time is given in minutes.
Use pthread library in the Linus OS to implement your system.
13 freelancers are bidding on average $47 for this job
hi. i have a lot of experience of C programming and using pthreads. so i am sure that i can do it. Relevant Skills and Experience c programming Proposed Milestones $80 USD - done
I am an expert C/C++ programmer and I am interested in your project. I Could do the work you need in some days for $[url removed, login to view] payment in advance required. I will get paid only at the end of the work. Relevant Skills and Daha fazlası
Pthread scheduling task Relevant Skills and Experience https://www.freelancer.com/projects/CPlusPlus-Programming/programming-assignment-11304498/ Proposed Milestones $200 USD - Delivery 2 hours long delivery
I am Pang, web and app developer.I am interesting in your task. I will give you comfortable and cheap service and finish your task on time. Please give a chance!!! Stay tuned, I'm still working on this proposal.