Template Function NetworKit::GraphTools::inVolume

Function Documentation

template<class InputIt>
double NetworKit::GraphTools::inVolume(const Graph &G, InputIt first, InputIt last)

Returns the inVolume (sum of the in-degree of all nodes) of a range of nodes.

Parameters:
  • G – The input graph.

  • first, last – The range of nodes to insert

Returns:

inVolume of the subgraph.