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.
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
Hi My Self J.D.Rathod. Currently I am working as a Lecturer In Computer Dept. (VGEC-Chandkheda).I am interested in your project , wait for your responses....
Relevant Skills and Experience
C
Data Structure And Algorithm
Proposed Milestones
$50 USD - M-01
If you are looking for someone who has expertise in threading and has completed some nice big projects using parallel programming then I am the one you can hire for this job.
Relevant Skills and Experience
C, C++, Pthread, Linux
Proposed Milestones
$25 USD - .
I have an experience of more that 4 years and I have done many projects using threading. I assure you that I can do this task for you in given time frame and by meeting all the requirements.
Let’s chat and discuss about price and work. 12 years experience in same filed you will get 100% correct work. No need to pay upfront money first check work quality and if you satisfied then pay.
Relevant Skills and Experience
12 years experience
Proposed Milestones
$13 USD - I will complete your work as per the guidelines and will deliver you according to time deadline.