Program Listing for File LocalPartitionCoverage.hpp

Return to documentation for file (include/networkit/centrality/LocalPartitionCoverage.hpp)

#ifndef NETWORKIT_CENTRALITY_LOCAL_PARTITION_COVERAGE_HPP_
#define NETWORKIT_CENTRALITY_LOCAL_PARTITION_COVERAGE_HPP_

#include <networkit/centrality/Centrality.hpp>
#include <networkit/structures/Partition.hpp>

namespace NetworKit {

class LocalPartitionCoverage : public Centrality {
public:
    LocalPartitionCoverage(const Graph &G, const Partition &P);

    void run() override;

    double maximum() override;

protected:
    const Partition &P;
};

} // namespace NetworKit

#endif // NETWORKIT_CENTRALITY_LOCAL_PARTITION_COVERAGE_HPP_