Class BinaryPartitionReader

Class Documentation

class BinaryPartitionReader

Public Functions

BinaryPartitionReader(uint8_t width = 4)

Construct a binary partition reader.

Parameters:

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

Partition read(std::string_view path)

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

Parameters:

path[in] Path to file.