CUSP
Loading...
Searching...
No Matches
dimacs.h File Reference

Dimacs file I/O. More...

Go to the source code of this file.

Functions

template<typename Matrix >
::cuda::std::tuple< typename Matrix::index_type, typename Matrix::index_type > cusp::io::read_dimacs_file (Matrix &mtx, const std::string &filename)
 Read a Dimacs file.
 
template<typename Matrix , typename Stream >
::cuda::std::tuple< typename Matrix::index_type, typename Matrix::index_type > cusp::io::read_dimacs_stream (Matrix &mtx, Stream &input)
 Read Dimacs data from a stream.
 
template<typename Matrix >
void cusp::io::write_dimacs_file (const Matrix &mtx, const ::cuda::std::tuple< typename Matrix::index_type, typename Matrix::index_type > &t, const std::string &filename)
 Write a Dimacs file.
 
template<typename Matrix , typename Stream >
void cusp::io::write_dimacs_stream (const Matrix &mtx, const ::cuda::std::tuple< typename Matrix::index_type, typename Matrix::index_type > &t, Stream &output)
 Write Dimacs data to a stream.
 

Detailed Description

Dimacs file I/O.

Definition in file dimacs.h.