Class MTXGraphReader

Inheritance Relationships

Base Type

Class Documentation

class MTXGraphReader : public NetworKit::GraphReaderBase<Graph>

Reader for the matrix market file format documented in https://networkrepository.com/mtx-matrix-market-format.html

Does not allow complex fields.

Public Functions

MTXGraphReader() = default
virtual Graph read(std::string_view path) override

Takes a file path as parameter and returns a graph.

Parameters:

path –

Returns:

Graph