Class MatrixReader

Inheritance Relationships

Derived Type

Class Documentation

class MatrixReader

Abstract base class for matrix readers.

Subclassed by NetworKit::MatrixMarketReader

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