Function NetworKit::GraphTools::merge

Function Documentation

void NetworKit::GraphTools::merge(Graph &G, const Graph &G1)

Modifies graph G to be the union of it and graph G1. Nodes with the same ids are identified with each other.

Parameters:
  • G – Result of the merge.

  • G1Graph that will be merged with G.