Class connect_relevant_meta_vertex

Class Documentation

class graspi::connect_relevant_meta_vertex

The predicate to filter the graph where vertices are screened if the path towards relevant meta-vertex exists.

Public Functions

connect_relevant_meta_vertex()

The default constructor.

void change_color(unsigned int c)
connect_relevant_meta_vertex(const graph_t &G, const vertex_colors_t &C, const vertex_ccs_t &vCC, const ccs_t &CC, unsigned int color)

The default constructor

Parameters
  • G: is the reference to the graph to be filtered

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

  • vCC: is the vector storing indices of the connected components (CC) of each vector in the graph

  • CC: is the vector of CC,

  • color: is the vertices og this color to be checked

bool operator()(const vertex_t &vertex_id) const

The operator used to filter the graph.