MST.h File Reference

#include "MSTNode.h"
#include <vector>
Include dependency graph for MST.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MST
 Class to represent a Minimum Spanning Tree (MST). More...

Typedefs

typedef std::vector< MSTNodeNodeList

Functions

std::ostream & operator<< (std::ostream &, const MST &)
 Insertion operator to stream MST information to a given output stream.

Typedef Documentation

typedef std::vector<MSTNode> NodeList

Definition at line 47 of file MST.h.


Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const MST mst 
)

Insertion operator to stream MST information to a given output stream.

This method provides a convenient mechanism to dump the complete MST information for debugging purposes. The nodes in the MST are displayed in the order in which they were inserted into the MST.

Definition at line 135 of file MST.cpp.

References MST::nodeList.


Generated on 19 Mar 2010 for PEACE by  doxygen 1.6.1