//UMBC - CSEE - CMSC 341 - Fall 2025 - Proj1 #include "railroad.h" Railroad::Railroad(){ } Railroad::~Railroad(){ } void Railroad::clearNetwork(){ } bool Railroad::extendAtHead(int newCode, int passengers){ } bool Railroad::extendAtTail(int newCode, int passengers){ } void Railroad::dump(){ if (m_head != nullptr){ int northCode, southCode, eastCode, westCode; Station *temp = m_head; while(temp != nullptr){ if (temp->m_north != nullptr) northCode = temp->m_north->m_code; else northCode = -1; if (temp->m_south != nullptr) southCode = temp->m_south->m_code; else southCode = -1; if (temp->m_east != nullptr) eastCode = temp->m_east->m_code; else eastCode = -1; if (temp->m_west != nullptr) westCode = temp->m_west->m_code; else westCode = -1; cout << temp->m_code << " (" << "P: " << temp->m_passengers << ", N: " << northCode << ", S: " << southCode << ", E: " << eastCode << ", W: " << westCode << ")" << endl; temp = temp->m_next; } } } bool Railroad::makeRoute(list< pair > route){ } int Railroad::travel(list< pair > route){ } bool Railroad::setNumPassengers(int code, int passengers){ } bool Railroad::removeStation(int aCode){ } void Railroad::clearAllRoutes(){ } const Railroad & Railroad::operator=(const Railroad & rhs){ } Railroad::Railroad(const Railroad & rhs){ }