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::MTXGraphReader, 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(std::string_view path) = 0

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

Parameters:

path[in] input file path