Function NetworKit::GraphTools::getContinuousNodeIds

Function Documentation

std::unordered_map<node, node> NetworKit::GraphTools::getContinuousNodeIds(const Graph &graph)

Computes a map of node ids.

Parameters:

graph – The graph of which the node id map is wanted.

Returns:

Returns the node id map.