Program Listing for File BinaryPartitionReader.hpp

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

/*
 * BinaryPartitionReader.hpp
 *
 *  Created on: 12.04.2017
 *      Author: Michael Hamann
 */

#ifndef NETWORKIT_IO_BINARY_PARTITION_READER_HPP_
#define NETWORKIT_IO_BINARY_PARTITION_READER_HPP_

#include <networkit/structures/Partition.hpp>

namespace NetworKit {

class BinaryPartitionReader final {

public:
    BinaryPartitionReader(uint8_t width = 4);

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

private:
    uint8_t width;
};

} /* namespace NetworKit */
#endif // NETWORKIT_IO_BINARY_PARTITION_READER_HPP_