Work-function to print a native-view of the input graph to the given file.
More...
|
| output_graph_to_file (std::string filename) |
|
| output_graph_to_file (std::string filename, OutputFunctor f) |
|
template<typename Vw > |
result_type | operator() (Vw const &v) |
|
|
std::string | m_filename |
|
OutputFunctor | m_vertex_out_func |
|
template<typename OutputFunctor>
struct stapl::output_graph_to_file< OutputFunctor >
Work-function to print a native-view of the input graph to the given file.
Uses the user-provided output-function to print each vertex and its adjacencies.
- Template Parameters
-
OutputFunctor | The functor used to print a vertex and its adjacencies. |
- Parameters
-
filename | The name of the output file. If the name is an empty string, the graph is output to std::cout. |
The documentation for this struct was generated from the following file: