Function NetworKit::GraphTools::toUnweighted

Function Documentation

Graph NetworKit::GraphTools::toUnweighted(const Graph &G)

Return an unweighted copy of the input graph.

Parameters:

G – The input graph.

Returns:

Unweighted copy of the input graph.