Program Listing for File MatrixMarketReader.hpp

Return to documentation for file (include/networkit/io/MatrixMarketReader.hpp)

/*
 * MatrixMarketReader.hpp
 *
 *  Created on: 25.07.2014
 *      Author: dhoske
 */

#ifndef NETWORKIT_IO_MATRIX_MARKET_READER_HPP_
#define NETWORKIT_IO_MATRIX_MARKET_READER_HPP_

#include <networkit/io/MatrixReader.hpp>

namespace NetworKit {

class MatrixMarketReader final : public MatrixReader {
public:
    MatrixMarketReader() = default;

    CSRMatrix read(const std::string &path) override;

    CSRMatrix read(std::istream &in);
};

} // namespace NetworKit
#endif // NETWORKIT_IO_MATRIX_MARKET_READER_HPP_