All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GraphReader.h
Go to the documentation of this file.
1 /*
2  * GraphReader.h
3  *
4  * Created on: 17.01.2013
5  * Author: Christian Staudt (christian.staudt@kit.edu)
6  */
7 
8 #ifndef GRAPHREADER_H_
9 #define GRAPHREADER_H_
10 
11 #include "../graph/Graph.h"
12 #include "../auxiliary/StringTools.h"
13 
14 
15 namespace NetworKit {
16 
21 class GraphReader {
22 public:
23  virtual ~GraphReader() = default;
24 
30  virtual Graph read(const std::string& path) = 0;
31 };
32 
33 } /* namespace NetworKit */
34 #endif /* GRAPHREADER_H_ */
virtual Graph read(const std::string &path)=0
Given the path of an input file, read the graph contained.
virtual ~GraphReader()=default
Abstract base class for graph readers.
Definition: GraphReader.h:21
A graph (with optional weights) and parallel iterator methods.
Definition: Graph.h:79