Function NetworKit::GraphClusteringTools::isSingletonClustering

Function Documentation

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

Check whether a partition is a proper singleton 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 singleton clustering, False if not