Program Listing for File CoverF1Similarity.hpp

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

#ifndef NETWORKIT_COMMUNITY_COVER_F1_SIMILARITY_HPP_
#define NETWORKIT_COMMUNITY_COVER_F1_SIMILARITY_HPP_

#include <networkit/community/LocalCoverEvaluation.hpp>

namespace NetworKit {

class CoverF1Similarity final : public LocalCoverEvaluation {
public:
    CoverF1Similarity(const Graph &G, const Cover &C, const Cover &reference);

    void run() override;

    bool isSmallBetter() const override { return false; }

private:
    const Cover *reference;
};

} // namespace NetworKit

#endif // NETWORKIT_COMMUNITY_COVER_F1_SIMILARITY_HPP_