Function graspi::wf_diss¶
Defined in File performance_indicators_diss.hpp
Function Documentation¶
-
std::pair<double, double>
graspi
::
wf_diss
(graph_t *G, const dim_g_t &d_g, const vertex_colors_t &C, const edge_weights_t &W, const vertex_ccs_t &vCC, const ccs_t &CC, double Ld, const std::string &filename_ColorToGreen, const std::string &filename_WColorToGreen, unsigned int color = 0, unsigned int green = 30)¶ This function computes two descriptors related to exciton dissociation
- Return
the pair of fractions: the weighted fraction of vertices and the fraction of vertices within Ld distance to the targeted meta-vertex
- Parameters
G
: is the input graphd_g
: is the structure storing basic informations about the graph dimensionalityC
: is the vector storing the labels/colors of vertices in the graph GW
: is the map storing the weights of the edgesvCC
: is the vector storing indices of the connected components (CC) of each vector in the graphLd
: is the exciton diffusion lengthfilename_ColorToGreen
: is the filename where all distances from GREEN to BLACK vertices will be outputtedfilename_WColorToGreen
: is the filename where all weighted distances from GREEN to BLACK vertices will be outputedcolor
: is the color code for vertices that will be analyzed (default value is BLACK)green
: is the color code for targeted meta-vertex (default value is GREEN)