PPT Slide
Program Structure: Data Structure
- Three main types of data storage structures are used:
- Train lists: - contain all train by train information;
- Track lists: - where trains/blocks are held/moved through the yard;
- Moving Trains and/or yard blocks from one of these lists to another is the basic programs process which mimic car movements through the yard
- The event queue: - stores all events to be or that have been processed.