↰ Return to documentation for file (include/networkit/io/EdgeListPartitionReader.hpp
)
#ifndef NETWORKIT_IO_EDGE_LIST_PARTITION_READER_HPP_
#define NETWORKIT_IO_EDGE_LIST_PARTITION_READER_HPP_
#include <fstream>
#include <networkit/auxiliary/StringTools.hpp>
#include <networkit/graph/Graph.hpp>
#include <networkit/structures/Partition.hpp>
namespace NetworKit {
class EdgeListPartitionReader final {
public:
EdgeListPartitionReader(node firstNode = 1, char sepChar = '\t');
Partition read(std::string_view path);
private:
node firstNode;
char sepChar;
};
} /* namespace NetworKit */
#endif // NETWORKIT_IO_EDGE_LIST_PARTITION_READER_HPP_