Class EdgeListPartitionReader

Class Documentation

class EdgeListPartitionReader

Public Functions

EdgeListPartitionReader(node firstNode = 1, char sepChar = '\t')

Constructs the EdgeListPartitionReader class with firstNode as the index of the first node in the file.

  • firstNode[in] Index of the first node in the file.

  • sepChar[in] The separator between two elements

Partition read(const std::string &path)

Read a clustering from a file. File format: A list of the nodes and their membership (memberships are labelled by integer numbers >=1).


path[in] Path to file.


The clustering contained in the file at path.