Class MatrixReader

Inheritance Relationships

Derived Types

Class Documentation

class MatrixReader

Abstract base class for matrix readers.

Subclassed by NetworKit::MatrixMarketReader, NetworKit::RBMatrixReader

Public Functions

virtual ~MatrixReader() = default
virtual CSRMatrix read(std::string_view path) = 0

Reads the matrix in path.

inline CSRMatrix *_read(std::string_view path)

only to be used by Cython - this eliminates an unnecessary copy