Class CoverReader

Inheritance Relationships

Derived Type

Class Documentation

class CoverReader

Subclassed by NetworKit::EdgeListCoverReader

Public Functions

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

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

Parameters:
  • path[in] The path to the input file

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

Returns:

The cover instance