All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
NetworKit::CoverReader Class Reference

#include <CoverReader.h>

Public Member Functions

virtual Cover read (std::string path, Graph &G)
 Read a cover from a file. More...
 

Member Function Documentation

NetworKit::Cover NetworKit::CoverReader::read ( std::string  path,
NetworKit::Graph G 
)
virtual

Read a cover from a file.

File format: each line contains the node ids of one subset.

Parameters
[in]pathThe path to the input file
[in]GThe graph for which the cover shall be read
Returns
The cover instance

Reimplemented in NetworKit::EdgeListCoverReader.


The documentation for this class was generated from the following files: