C++ Reference: io

Note: This documentation is automatically generated.

A collections of i/o utilities for the Graph classes in ./graph.h.

Function Type Arguments Comments
GraphToString

Return type: std::string

Arguments: const Graph& graph, GraphToStringFormat format

GraphToString

Return type: std::string

Arguments: const Graph& graph, GraphToStringFormat format

WriteGraphToFile

Return type: absl::Status

Arguments: const Graph& graph, const std::string& filename, bool directed, const std::vector<int>& num_nodes_with_color

WriteGraphToFile

Return type: absl::Status

Arguments: const Graph& graph, const std::string& filename, bool directed, const std::vector<int>& num_nodes_with_color