Class RBMatrixReader

Inheritance Relationships

Base Type

Class Documentation

class RBMatrixReader : public NetworKit::MatrixReader

Reader for the Rutherford Boeing (RB) matrix file format as described in http://sparse-files.engr.tamu.edu/files/DOC/rb.pdf.

Note

currently the reader only supports compressed column format for real, integer, or pattern data types.

Public Functions

RBMatrixReader() = default
virtual CSRMatrix read(std::string_view path) override

Reads the matrix in path.

CSRMatrix read(std::istream &in)

Reads the matrix in in.