Template Class PigoEdgeListReader
Defined in File pigo_edge_list_reader.h
Inheritance Relationships
Base Types
public sparsebase::io::Reader
(Class Reader)public sparsebase::io::ReadsCSR< IDType, NNZType, ValueType >
(Template Class ReadsCSR)public sparsebase::io::ReadsCOO< IDType, NNZType, ValueType >
(Template Class ReadsCOO)
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
-
PigoEdgeListReader(std::string filename, bool weighted)