Main Page   Class Hierarchy   Compound List   File List   Compound Members  

importExport.h

00001 /****************************************************
00002  *  Bachelor Project:                               *
00003  *  External Memory Minimum Spanning Trees          *
00004  *  by Dominik Schultes <mail@dominik-schultes.de>  *
00005  *                                                  *
00006  *                importExport.h                    *
00007  *                                                  *
00008  *  April 13, 2003                                  *
00009  ****************************************************/
00010 
00011 
00012 #ifndef IMPORTEXPORT_H
00013 #define IMPORTEXPORT_H
00014 
00015 #include <iostream>
00016 
00017 #include "../data_structures/edgeVector.h"
00018 
00019 
00027 EdgeVector<> * importEdgeVector(const std::string &filename);
00028 
00029 
00042 EdgeVector<> * importEdgeVectorListOfEdges(std::istream &in);
00043 
00044 
00060 EdgeVector<> * importEdgeVectorAdjList(std::istream &in);
00061 
00062 
00079 EdgeVector<> * importEdgeVectorCompressed(const std::string &filename);
00080 
00081 
00097 void exportEdgeVectorAdjList(std::ostream &out, EdgeVector<> &edges);
00098 
00099 
00116 void exportEdgeVectorCompressed(const std::string &filename, EdgeVector<> &edges);
00117 
00118 
00123 NodeCount noOfNodesInFile(const std::string &filename);
00124 
00125 
00126 #endif // IMPORTEXPORT_H

Generated on Thu Aug 14 15:13:27 2003 for External Memory Minimum Spanning Trees by doxygen1.2.17