Template Function graspi::update_graph

Function Documentation

template<typename Container>
bool graspi::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 data

  • d: is the reference to the struct storing dimensions of the morphology represented as a array

  • G: is the reference to the input graph

  • d_g: is the reference to the struct storing the dimension of graph vertices

  • C: is the reference to the vector storing the labels/colors of vertices in the graph G

  • W: is the reference to the map storing the weights of the edges

  • L: is the reference to the map storing the labels/colors of the edges in graph G