All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MatrixMarketReader.h
Go to the documentation of this file.
1 /*
2  * MatrixMarketReader.h
3  *
4  * Created on: 25.07.2014
5  * Author: dhoske
6  */
7 
8 #ifndef MATRIXMARKETREADER_H_
9 #define MATRIXMARKETREADER_H_
10 
11 #include "MatrixReader.h"
12 
13 namespace NetworKit {
14 
23 public:
24 
25  MatrixMarketReader() = default;
26 
27  virtual CSRMatrix read(const std::string& path) override;
28 
30  CSRMatrix read(std::istream& in);
31 };
32 
33 }
34 #endif
Abstract base class for matrix readers.
Definition: MatrixReader.h:19
Reader for the matrix market file format as described in http://math.nist.gov/MatrixMarket/reports/MM...
Definition: MatrixMarketReader.h:22
virtual CSRMatrix read(const std::string &path) override
Reads the matrix in path.
Definition: MatrixMarketReader.cpp:32
The CSRMatrix class represents a sparse matrix stored in CSR-Format (i.e.
Definition: CSRMatrix.h:26