Program Listing for File BinaryEdgeListPartitionReader.hpp

Return to documentation for file (include/networkit/io/BinaryEdgeListPartitionReader.hpp)

#ifndef NETWORKIT_IO_BINARY_EDGE_LIST_PARTITION_READER_HPP_
#define NETWORKIT_IO_BINARY_EDGE_LIST_PARTITION_READER_HPP_

#include <string>

#include <networkit/structures/Partition.hpp>

namespace NetworKit {

class BinaryEdgeListPartitionReader final {

public:
    BinaryEdgeListPartitionReader(node firstNode = 0, uint8_t width = 4);

    Partition read(const std::string &path);

    Partition read(const std::vector<std::string> &paths);

    node firstNode;
    uint8_t width;
};

} /* namespace NetworKit */
#endif // NETWORKIT_IO_BINARY_EDGE_LIST_PARTITION_READER_HPP_