Function graspi::output_graph¶
Defined in File graph_io.hpp
Function Documentation¶
-
bool
graspi
::
output_graph
(const std::string &name, graph_t *G, dim_g_t &d_g, vertex_colors_t &C, edge_weights_t &W, edge_colors_t &L) This function outputs the structure of the graph to the file with the given name.
This function outputs the structure of the to the file with the given name
- Parameters
name
: is the filename the structure is sent toG
: is the input graphd_g
: is the struct storing the dimension of graph verticesC
: is the vector storing the labels/colors of vertices in the graph GW
: is the map storing the weights of the edgesL
: is the map storing the labels/colors of the edges in graph G