// UMBC - CSEE - CMSC 341 - Spring 2026 - Proj5 // Do not write your name or campus ID in files #include "graph.h" Graph::Graph(){ } Graph::Graph(string dataFile){ } Graph::~Graph(){ } void Graph::loadData(){ int numNodes; int node, n, e, s, w; ifstream dataFile; dataFile.open(m_dataFile); if (dataFile.is_open()) { dataFile >> numNodes; m_numNodes = numNodes; for (int i = 0; i < numNodes; i++) { dataFile >> node >> n >> e >> s >> w; insert(node, n, e, s, w); } } else //the following statement provides the reason if a file doesn't open //please note: not all platforms are providing the same message cerr << "Error: " << strerror(errno) << endl; } void Graph::insert(int node, int n, int e, int s, int w){ } void Graph::insertAtHead(Node * aNode){ } Node * Graph::findNode(int nodeValue){ } bool Graph::findPath(int start, int end){ } bool Graph::findPath(Node* aNode, int end){ } void Graph::dump(){ } void Graph::clearResult(){ } void Graph::clearVisited(){ } void Graph::buildGraph(string file){ } void Graph::clearGraph(){ } const Graph & Graph::operator=(const Graph & rhs){ } bool Graph::empty() const // is the list empty? { return m_head == nullptr; }