/** \file graph.cpp * * Function implementations for the class graph. * */ using namespace std; #include "graph.hpp" /***************************************** Implementations for graph classes ********************************/ /** Constructor of class Graph. */ Graph::Graph() { }; /** Destructor of class Graph. * Destructor does release memory for nodes and edges contained in its lists as well. */ Graph::~Graph() { }; /** Constructor of class SubGraph. */ SubGraph::SubGraph() { }; /** Destructor of class SubGraph. * Note that destructor does not deallocate either nodes or edges! (this is done by its subgraph!) */ SubGraph::~SubGraph() { }; /** Constructor of class Node. */ Node::Node() { }; /** Destructor of class Node. */ Node::~Node() { }; /** Constructor of class Edge. */ Edge::Edge() { }; /** Destructor of class Edge. */ Edge::~Edge() { };