Class GraphReader

Inheritance Relationships

Derived Types

Class Documentation

class GraphReader

Abstract base class for graph readers.

Subclassed by NetworKit::DibapGraphReader, NetworKit::EdgeListReader, NetworKit::GMLGraphReader, NetworKit::GraphToolBinaryReader, NetworKit::KONECTGraphReader, NetworKit::METISGraphReader, NetworKit::NetworkitBinaryReader, NetworKit::SNAPGraphReader, NetworKit::ThrillGraphBinaryReader

Public Types

enum MultipleEdgesHandling

Values:

enumerator DISCARD_EDGES
enumerator SUM_WEIGHTS_UP
enumerator KEEP_MINIMUM_WEIGHT

Public Functions

virtual ~GraphReader() = default
virtual Graph read(const std::string &path) = 0

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

Parameters:

path[in] input file path