Question: HELP! Can someone please help me with this assignment, I am struggling with this. This is in JAVA btw and The assignment outline is above

 HELP! Can someone please help me with this assignment, I amstruggling with this. This is in JAVA btw and The assignment outlineis above along with the base code and the new txt documents.Thank You Assignment Description This assignment provides the opportunity to learn howregular queues and priority queues work, and how data structures can benested inside objects. In assignment 7, we will complete the railroad. Buildassignment 7 on your solution to assignment 4 or use the solutionI placed on Canvas Railroad yards are generally divided into several differenttypes of yards such as receiving, sorting, and departure yards. Use therailroad yard from assignment 4 and add a receiving yard and adeparture yard. Now, we also need a railroad yard controller. There area few modifications to the railroad from assignment 4 as specified below

HELP! Can someone please help me with this assignment, I am struggling with this. This is in JAVA btw and The assignment outline is above along with the base code and the new txt documents. Thank You

Assignment Description This assignment provides the opportunity to learn how regular queues and priority queues work, and how data structures can be nested inside objects. In assignment 7, we will complete the railroad. Build assignment 7 on your solution to assignment 4 or use the solution I placed on Canvas Railroad yards are generally divided into several different types of yards such as receiving, sorting, and departure yards. Use the railroad yard from assignment 4 and add a receiving yard and a departure yard. Now, we also need a railroad yard controller. There are a few modifications to the railroad from assignment 4 as specified below and two new classes - RailCars and RailroadYardController. The completed railroad contains . 1 railroad yard object with 1 Receiving Track o This is just one track, it holds rail cars that are waiting to be added to trains - o 1 Sorting yard Has "n" tracks - each is either empty or has one train on it. The trains in the sorting yard are assembled from rail cars waiting on the receiving track The railroad yard controller moves assembled trains to the departure track " o 1 Departure track This is just one track, it holds completed trains ready for departure. It can hold all the trains in the sorting yard. Train departures are ordered by the length of the train: the shortest trains depart first - 1 railroad yard controller (or tower) . Controls all movements of rail cars from the receiving track into the sorting yard Controls all movements of assembled trains from sorting yard to the departure track. o o In this assignment, process all rail cars on receiving track by adding the rail cars to one of the trains sitting on a track in the sorting yard. Once all receiving track rail cars are processed, move the trains in the sorting yard to the departure track then clear for departure To main line DEPARTURE TRACK Trains ready to depart SORTING YARD Trains being assembled RECEIVING TRACK Cars waiting to be added to trains Assignment Description This assignment provides the opportunity to learn how regular queues and priority queues work, and how data structures can be nested inside objects. In assignment 7, we will complete the railroad. Build assignment 7 on your solution to assignment 4 or use the solution I placed on Canvas Railroad yards are generally divided into several different types of yards such as receiving, sorting, and departure yards. Use the railroad yard from assignment 4 and add a receiving yard and a departure yard. Now, we also need a railroad yard controller. There are a few modifications to the railroad from assignment 4 as specified below and two new classes - RailCars and RailroadYardController. The completed railroad contains . 1 railroad yard object with 1 Receiving Track o This is just one track, it holds rail cars that are waiting to be added to trains - o 1 Sorting yard Has "n" tracks - each is either empty or has one train on it. The trains in the sorting yard are assembled from rail cars waiting on the receiving track The railroad yard controller moves assembled trains to the departure track " o 1 Departure track This is just one track, it holds completed trains ready for departure. It can hold all the trains in the sorting yard. Train departures are ordered by the length of the train: the shortest trains depart first - 1 railroad yard controller (or tower) . Controls all movements of rail cars from the receiving track into the sorting yard Controls all movements of assembled trains from sorting yard to the departure track. o o In this assignment, process all rail cars on receiving track by adding the rail cars to one of the trains sitting on a track in the sorting yard. Once all receiving track rail cars are processed, move the trains in the sorting yard to the departure track then clear for departure To main line DEPARTURE TRACK Trains ready to depart SORTING YARD Trains being assembled RECEIVING TRACK Cars waiting to be added to trains

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!