Template Class GraphReaderBase

Inheritance Relationships

Base Type

Derived Types

Class Documentation

template<class GraphT>
class GraphReaderBase : public NetworKit::GraphReaderOptions

Abstract base class for graph readers.

Subclassed by NetworKit::DibapGraphReader, NetworKit::EdgeListReader, NetworKit::GMLGraphReader, NetworKit::GenericMETISGraphReader< GraphT >, NetworKit::GraphToolBinaryReader, NetworKit::KONECTGraphReader, NetworKit::MTXGraphReader, NetworKit::NetworkitBinaryReader, NetworKit::RBGraphReader, NetworKit::SNAPGraphReader, NetworKit::ThrillGraphBinaryReader

Public Functions

virtual ~GraphReaderBase() = default
virtual GraphT read(std::string_view path) = 0

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

Parameters:

path – [in] input file path