Program Listing for File ClusteringGenerator.hpp

Return to documentation for file (include/networkit/community/ClusteringGenerator.hpp)

/*
 * ClusteringGenerator.hpp
 *
 *  Created on: 10.12.2012
 *      Author: Christian Staudt
 */

#ifndef NETWORKIT_COMMUNITY_CLUSTERING_GENERATOR_HPP_
#define NETWORKIT_COMMUNITY_CLUSTERING_GENERATOR_HPP_

#include <networkit/graph/Graph.hpp>
#include <networkit/structures/Partition.hpp>

namespace NetworKit {

class ClusteringGenerator final {

public:
    Partition makeSingletonClustering(const Graph &G);

    Partition makeOneClustering(const Graph &G);

    Partition makeRandomClustering(const Graph &G, count k);

    Partition makeContinuousBalancedClustering(const Graph &G, count k);

    Partition makeNoncontinuousBalancedClustering(const Graph &G, count k);
};

} /* namespace NetworKit */
#endif // NETWORKIT_COMMUNITY_CLUSTERING_GENERATOR_HPP_