Function NetworKit::GraphClusteringTools::isOneClustering

Function Documentation

bool NetworKit::GraphClusteringTools::isOneClustering(const Graph &G, const Partition &zeta)

Check whether a partition is a proper one clustering for a given graph

Parameters:
  • graph – The input graph

  • zetaPartition, which contains information about clusters in the graph

Returns:

True if the partition is a proper one clustering, False if not