The CyMeAlg Software (Release 0.01)
|
This header file contains functions for reading and writing digraphs from and to human-readable text streams. More...
#include "chomp/system/config.h"
#include "chomp/system/textfile.h"
Go to the source code of this file.
Namespaces | |
cymealg | |
Functions | |
template<class inType , class Graph > | |
inType & | cymealg::read (inType &in, Graph &g) |
Reads a graph in the text mode from an input stream. More... | |
template<class wType > | |
std::istream & | cymealg::operator>> (std::istream &in, diGraph< wType > &g) |
Reads a graph in the text mode from an input stream. More... | |
template<class outType , class Graph > | |
outType & | cymealg::write (outType &out, const Graph &g, bool writeWeights) |
Outputs the graph to a text stream in a human-readable format. More... | |
template<class wType > | |
std::ostream & | cymealg::operator<< (std::ostream &out, const diGraph< wType > &g) |
Writes a graph in the text mode to an output stream. More... | |
This header file contains functions for reading and writing digraphs from and to human-readable text streams.
Definition in file readwrite.h.