Changes in / [b77416:2746be]
Legend:
- Unmodified
- Added
- Removed
-
src/graph.cpp
rb77416 r2746be 7 7 using namespace std; 8 8 9 #include "graph.hpp"10 9 11 /***************************************** Implementations for graph classes ********************************/ 10 #include <iostream> 11 #include <list> 12 #include <vector> 12 13 13 /** Constructor of class Graph. 14 */ 15 Graph::Graph() 16 { 17 }; 14 /***************************************** Functions for class graph ********************************/ 18 15 19 /** Destructor of class Graph.20 * Destructor does release memory for nodes and edges contained in its lists as well.21 */22 Graph::~Graph()23 {24 };25 16 26 /** Constructor of class SubGraph. 27 */ 28 SubGraph::SubGraph() 29 { 30 }; 31 32 /** Destructor of class SubGraph. 33 * Note that destructor does not deallocate either nodes or edges! (this is done by its subgraph!) 34 */ 35 SubGraph::~SubGraph() 36 { 37 }; 38 39 /** Constructor of class Node. 40 */ 41 Node::Node() 42 { 43 }; 44 45 /** Destructor of class Node. 46 */ 47 Node::~Node() 48 { 49 }; 50 51 /** Constructor of class Edge. 52 */ 53 Edge::Edge() 54 { 55 }; 56 57 /** Destructor of class Edge. 58 */ 59 Edge::~Edge() 60 { 61 }; 62 17
Note:
See TracChangeset
for help on using the changeset viewer.