Algorithm program

Imefungwa Ilichapishwa Miaka 5 iliyopita Kulipwa wakati wa kujifungua
Imefungwa Kulipwa wakati wa kujifungua

A train station decides to reduce the human resource (HR) by automating trains scheduling, i.e.

an order in which trains go through the common line. The train station receives trains that have different

levels of importance, i.e. importance of how they should quickly arrive to their destinations.

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.

In order to completely simulate the train station system, read the trains' information from the

input file. However, their information cannot be stored in the program simultaneously. Particularly,

you need to ensure that registering/storing the data of one train only is done at time. After you finish

storing all the trains' information using the appropriate data structures and methods, you will find the

order in which the trains will be assigned to go through the common line. In other words, you will find

the schedule of treating the trains using the priorities given by the workers in the check point earlier.

Systems

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.

Algorithm Computer Science

Kitambulisho cha Mradi: #18244731

Kuhusu mradi

10 mapendekezo Mradi wa mbali Ipo mtandaoni %project.latestActivity_relativeTime|badilisha%

10 wafanyakazi huru wanazabuni wastani wa $119 kwa kazi hii

dobreiiita

Hello I am Algorithm expert and interested in this project. I have reviewed details of your project regarding Trains scheduling and confident to handle the project perfectly. I have few questions in mind. Please comm Zaidi

$125 USD kwa siku 2
(Maoni 62)
5.6
jimytech

Hi, I'm Jimy. Very interesting your problem, as I am mathematical, in addition to programmer, I can solve it very efficiently. Also, if you require it I can make you a final report according to your requirements. Zaidi

$98 USD kwa siku 5
(Maoni 3)
3.5
MichealSMoreno

Dear client. I've read your project description carefully and very interested. Let's discuss over chat and get started. Waiting for your reply. Best regards.

$200 USD kwa siku 3
(Maoni 3)
2.9
SolutionsArchi

Hi! I'm a Java Developer and Solutions Architect with over 15 years of experience. My main job is to create efficient solutions to solve any kind of problems. So I love algorithms and data structures and I really want Zaidi

$90 USD kwa siku 4
(Maoni 3)
3.0
karandeepsingh2

I have read the description and I can write the program. Contact me to talk about the details

$45 USD kwa siku 3
(Maoni 5)
2.7
abhimadankr

I read the task description and I can do it.I have worked on many such projects.I can work on urgent basis and for a reasonable rate..Contact me so we can discuss further

$30 USD kwa siku 5
(Maoni 0)
0.0
Minaxi19

I can help you in the work nicely I am a master of computer science Allow me a chance to help you with this nicely Thanks

$100 USD kwa siku 2
(Maoni 0)
0.0
pshera567

I am a software developer in Samsung India. just ping me your problem and I give come with a solution.

$166 USD kwa siku 3
(Maoni 0)
0.0
UKgetITdone

Hi, Have gone through you requirement and can surely help you. May I know are you just looking for algorithm (pseudo code) or looking for a proper program in any specific programming language? Is this a college Zaidi

$88 USD kwa siku 4
(Maoni 0)
0.0
papajam

Design using Unified Modelling Languange (UML), a detail requirement report will be given and to be reviewed. The UML concept of designing software to be more precise and align with user requirements.

$250 USD kwa siku 10
(Maoni 0)
0.0