Template Function graspi::wf_abs

Function Documentation

template<typename WFoo>
double graspi::wf_abs(const vertex_colors_t &C, const dim_a_t &d_a, WFoo wf, double pixelsize)

The function to estimate the contribution of electron donor to light absorption

Return

the weighted fraction of electron donor contributing to light absorption

Template Parameters
  • WFoo: is the weigting function to be used for this descriptor calculation

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

  • dim_a: is the structure storing information about the labels array

  • wf: is the weigting function used for estimating the contribution

  • pixelsize: is the pixelsize