Dimacs 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...
Dimacs 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:
/// c comments
/// c comments
/// p sp #vertices #edges
///
◆ operator()()
size_t stapl::read_dimacs_header::operator() |
( |
std::ifstream & |
ifs | ) |
const |
- Parameters
-
ifs | The input file-stream. |
- Returns
- Returns the number of vertices in the graph.
The documentation for this struct was generated from the following file: