All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GraphIO.h
Go to the documentation of this file.
1 /*
2  * GraphIO.h
3  *
4  * Created on: 09.01.2013
5  * Author: Christian Staudt (christian.staudt@kit.edu)
6  */
7 
8 #ifndef GRAPHIO_H_
9 #define GRAPHIO_H_
10 
11 #include <string>
12 #include <iostream>
13 #include <fstream>
14 
15 #include "../graph/Graph.h"
16 #include "../auxiliary/Log.h"
17 
18 namespace NetworKit {
19 
23 class GraphIO {
24 public:
36  virtual void writeEdgeList(Graph& G, std::string path);
37 
38 
51  virtual void writeAdjacencyList(Graph& G, std::string path);
52 
53 
54 };
55 
56 } /* namespace NetworKit */
57 #endif /* GRAPHIO_H_ */
virtual void writeEdgeList(Graph &G, std::string path)
Writes graph to text file in edge list format.
Definition: GraphIO.cpp:12
Definition: GraphIO.h:23
virtual void writeAdjacencyList(Graph &G, std::string path)
Writes graph to text file in adjacency list format.
Definition: GraphIO.cpp:26
A graph (with optional weights) and parallel iterator methods.
Definition: Graph.h:79