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

Abstract base class for graph readers. More...

#include <GraphReader.h>

Public Member Functions

virtual ~GraphReader ()=default
 
virtual Graph read (const std::string &path)=0
 Given the path of an input file, read the graph contained. More...
 

Detailed Description

Abstract base class for graph readers.

Constructor & Destructor Documentation

virtual NetworKit::GraphReader::~GraphReader ( )
virtualdefault

Member Function Documentation

virtual Graph NetworKit::GraphReader::read ( const std::string &  path)
pure virtual

Given the path of an input file, read the graph contained.

Parameters
[in]pathinput file path

Implemented in NetworKit::EdgeListReader, NetworKit::KONECTGraphReader, NetworKit::DibapGraphReader, NetworKit::GraphToolBinaryReader, NetworKit::SNAPGraphReader, NetworKit::GMLGraphReader, and NetworKit::METISGraphReader.


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