All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GraphWriter.h
Go to the documentation of this file.
1 /*
2  * GraphWriter.h
3  *
4  * Created on: 30.01.2013
5  * Author: Christian Staudt (christian.staudt@kit.edu)
6  */
7 
8 #ifndef GRAPHWRITER_H_
9 #define GRAPHWRITER_H_
10 
11 #include "../graph/Graph.h"
12 
13 #include <fstream>
14 
15 namespace NetworKit {
16 
21 class GraphWriter {
22 public:
23  virtual ~GraphWriter() = default;
24 
25  virtual void write(const Graph& G, const std::string& path) = 0;
26 };
27 
28 } /* namespace NetworKit */
29 #endif /* GRAPHWRITER_H_ */
virtual ~GraphWriter()=default
Abstract base class for graph writers.
Definition: GraphWriter.h:21
virtual void write(const Graph &G, const std::string &path)=0
A graph (with optional weights) and parallel iterator methods.
Definition: Graph.h:79