Template Function graspi::update_graph¶
Defined in File graph_constructors.hpp
Function Documentation¶
-
template<typename
Container>
boolgraspi::update_graph(const Container &M, const dim_a_t &d, graph_t &G, dim_g_t &d_g, vertex_colors_t &C, edge_weights_t &W, edge_colors_t &L)¶ This is function to update the graph
- Return
the status of the update process
- Template Parameters
Container: is the container to read the data from
- Parameters
M: is the container to store the read datad: is the reference to the struct storing dimensions of the morphology represented as a arrayG: is the reference to the input graphd_g: is the reference to the struct storing the dimension of graph verticesC: is the reference to the vector storing the labels/colors of vertices in the graph GW: is the reference to the map storing the weights of the edgesL: is the reference to the map storing the labels/colors of the edges in graph G