Template Class PigoEdgeListReader

Inheritance Relationships

Base Types

Class Documentation

template<typename IDType, typename NNZType, typename ValueType>
class sparsebase::io::PigoEdgeListReader : public sparsebase::io::Reader, public sparsebase::io::ReadsCSR<IDType, NNZType, ValueType>, public sparsebase::io::ReadsCOO<IDType, NNZType, ValueType>

A parallelized EdgeList reader using the PIGO library (This feature is currently experimental and not available on all platforms, if you have problems please use one of the provided sequential readers) More information about PIGO: https://github.com/GT-TDAlab/PIGO

Public Functions

PigoEdgeListReader(std::string filename, bool weighted)
virtual format::CSR<IDType, NNZType, ValueType> *ReadCSR() const override

Reads the file to a CSR instance and returns a pointer to it.

virtual format::COO<IDType, NNZType, ValueType> *ReadCOO() const override

Reads the file to a COO instance and returns a pointer to it.

virtual ~PigoEdgeListReader() = default