Class MTXGraphReader

Inheritance Relationships

Base Type

Class Documentation

class MTXGraphReader : public NetworKit::GraphReader

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