| Rev | Line | |
|---|
| [a0bcf1] | 1 | /** \file graph.cpp
|
|---|
| 2 | *
|
|---|
| 3 | * Function implementations for the class graph.
|
|---|
| 4 | *
|
|---|
| 5 | */
|
|---|
| 6 |
|
|---|
| 7 | using namespace std;
|
|---|
| 8 |
|
|---|
| [650212] | 9 | #include "graph.hpp"
|
|---|
| [a0bcf1] | 10 |
|
|---|
| [650212] | 11 | /***************************************** Implementations for graph classes ********************************/
|
|---|
| [a0bcf1] | 12 |
|
|---|
| [650212] | 13 | /** Constructor of class Graph.
|
|---|
| 14 | */
|
|---|
| 15 | Graph::Graph()
|
|---|
| 16 | {
|
|---|
| 17 | };
|
|---|
| 18 |
|
|---|
| 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 |
|
|---|
| 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 | };
|
|---|
| [a0bcf1] | 38 |
|
|---|
| [650212] | 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 | };
|
|---|
| [a0bcf1] | 62 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.