All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EdgeListPartitionReader.h
Go to the documentation of this file.
1 #ifndef EDGELISTPARTITION_H_
2 #define EDGELISTPARTITION_H_
3 
4 #include <fstream>
5 
6 #include "../structures/Partition.h"
7 #include "../graph/Graph.h"
8 #include "../auxiliary/StringTools.h"
9 
10 
11 namespace NetworKit {
12 
17 
18 public:
19 
26 
34  virtual Partition read(std::string path);
35 
36 
38  char sepChar;
39 };
40 
41 } /* namespace NetworKit */
42 #endif /* PARTITIONREADER_H_ */
char sepChar
Definition: EdgeListPartitionReader.h:38
Implements a partition of a set, i.e.
Definition: Partition.h:31
EdgeListPartitionReader(node firstNode=1, char sepChar='\t')
Constructs the EdgeListPartitionReader class with firstNode as the index of the first node in the fil...
Definition: EdgeListPartitionReader.cpp:12
virtual Partition read(std::string path)
Read a clustering from a file.
Definition: EdgeListPartitionReader.cpp:15
index node
Definition: Globals.h:23
node firstNode
Definition: EdgeListPartitionReader.h:37
Definition: EdgeListPartitionReader.h:16