Template Function NetworKit::GraphTools::volume(const Graph&, InputIt, InputIt)

Function Documentation

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

Returns the volume (sum of the out-degree of all nodes) of a range of nodes.

Parameters:
  • G – The input graph.

  • first, last – The range of nodes to insert

Returns:

Volume of the graph.