Fork me on GitHub
 All Classes Files Functions Variables Groups Pages
Functions
dimacs.h File Reference

Dimacs file I/O. More...

Go to the source code of this file.

Functions

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

Detailed Description

Dimacs file I/O.

Definition in file dimacs.h.