↰ Return to documentation for file (include/networkit/io/BinaryPartitionWriter.hpp
)
#ifndef NETWORKIT_IO_BINARY_PARTITION_WRITER_HPP_
#define NETWORKIT_IO_BINARY_PARTITION_WRITER_HPP_
#include <string>
#include <networkit/structures/Partition.hpp>
namespace NetworKit {
class BinaryPartitionWriter final {
public:
BinaryPartitionWriter(uint8_t width = 4);
void write(const Partition &zeta, std::string_view path) const;
private:
uint8_t width;
};
} // namespace NetworKit
#endif // NETWORKIT_IO_BINARY_PARTITION_WRITER_HPP_