Class EdgeListCoverReader

Inheritance Relationships

Base Type

Class Documentation

class EdgeListCoverReader : public NetworKit::CoverReader

Public Functions

EdgeListCoverReader(node firstNode = 1)

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


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

virtual Cover read(const std::string &path, Graph &G) override

Read a cover from a file. File format: each line contains the node ids of one subset.

  • path[in] The path to the input file

  • G[in] The graph for which the cover shall be read


The cover instance