Class BinaryPartitionReader

Class Documentation

class BinaryPartitionReader

Public Functions

BinaryPartitionReader(uint8_t width = 4)

Construct a binary partition reader.


width[in] The integer width. Supported values: 4 and 8.

Partition read(const std::string &path)

Read a partition from a file. File format: list of (unsigned) integer partition ids, one for every node


path[in] Path to file.