STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
List of all members | Public Member Functions | Public Types
stapl::read_matrix_market_header Struct Reference

Matrix Market header-reader for the graph_reader().Reads the header lines from the input file-stream. Skips over comment lines and reads number of vertices. format: More...

Public Member Functions

size_t operator() (std::ifstream &ifs) const
 

Public Types

using has_edge_property = std::false_type
 Lines do not have properties for edges.
 

Detailed Description

Matrix Market header-reader for the graph_reader().

Reads the header lines from the input file-stream. Skips over comment lines and reads number of vertices. format:

/// % comments
/// % comments
/// rows cols nnz
/// 

Member Function Documentation

◆ operator()()

size_t stapl::read_matrix_market_header::operator() ( std::ifstream &  ifs) const
Parameters
ifsThe input file-stream.
Returns
Returns the number of vertices in the graph.

The documentation for this struct was generated from the following file: